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
}
});
}