I call an ajax enabled wcf service method ,
<script type="text/javascript">
function GetEmployee() {
Service.GetEmployeeData('1','5',onGetDataSuccess);
}
function onGetDataSuccess(result) {
Iteratejsondata(result)
}
</script>
and my method is ,
[OperationContract]
public string GetEmployeeData(int currentPage,int pageSize)
{
DataSet ds = GetEmployeeViewData(currentPage,pageSize);
return GetJSONString(ds.Tables[0]);
}
My Dataset ds
contains three datatable but i am using the first one for my records...
Other two datatables have values how can i get them in result
...
function onGetDataSuccess(result) {
Iteratejsondata(result)
}
Any suggestion...