how can i bind datalist using jquery,json,web service?

Posted by Abhijit.Barua under ASP.NET on 6/21/2012 | Points: 10 | Views : 2553 | Status : [Member] | Replies : 2
how can i bind datalist using jquery,json,web service?




Responses

Posted by: Premalatha on: 7/4/2012 [Member] Starter | Points: 25

Up
0
Down
<div style="display: block; width: 500px; white-space: nowrap;">
function BindData()
{
alert('in');
var retDset=primaryInquries.TestDataSet(); //get dataset from codeBehind

alert(retDset.value.Tables[0].Rows.length); // to check the nimber of rows

// dataset is received correctly
document.getElementById("GridView1").DataSource=retDset; //?problem
document.getElementById("GridView1").Bind(); // ?problem. how to bind the received dataset to the grid view
return false;


}//end BindData
</div>

Premalatha
Software Engineer

Abhijit.Barua, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Abhijit.Barua on: 7/4/2012 [Member] Starter | Points: 25

Up
0
Down
thank you.... i sending data from web service as list not from code behind.

Abhijit.Barua, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response