By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,619 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

How to bind the values we get in json object d to a gridview?

P: 1
I am getting the values in json object d as follows:

carlos 21 Melinda 37 Andrew 41

Now how can i bind these values to asp.net griedview?

aspx:

function get(strcode) {

$.ajax({
type: "POST",
url: "Default.aspx/MyMethod",
data: "{'Code':'" + strcode + "'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (result) {
// Here i want to bind the gridview to the values contained in d
//also the values in d are dynamic means i am getting them from the datatable
}
});
}
Dec 6 '13 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.