Here Mudassar Ahmed Khan has explained with an example, how to return DataSet (DataTable) from WebMethod (PageMethod) to JavaScript or jQuery in ASP.Net using C# and VB.Net.
In this example, the DataSet (DataTable) will be populated from database and it will be returned as XML string by the WebMethod (PageMethod) to jQuery AJAX function.
↧