I using jquery ajax to send data to code behind....
$.ajax({
type: 'POST',
url: 'Epad.aspx/generateReport',
data: "{'exportOptions':" + JSON.stringify( exportOptions ) + "}",
contentType: 'application/json; charset=utf-8',
dataType: 'json',
async: true,
cache: false, });
I calling WebMethod....
public static void generateReport(dataReportEpad[] exportOptions) {....}
In the WebMethod I need access to C# Gridview and some TextBox that are inside the Gridview....
How can I do it?