I have following code behind button click event:
protected void buttonAccept_Click(object sender, EventArgs e)
{
string dataTable;
DataTable tbl1 = GridView1.DataSource as DataTable;
}
I need to have both dataTable and tbl1 used from #buttonAccept
$("#buttonAccept").ajaxSubmit(
"./test/writeToDb"
, function (response) {
Info(
"DataSaved."
}
);
Any ideas how to achieve this?