我想打电话给我的页面背后的代码中声明的方法,实际上这种方法在ASP页refracing DataGrid中的数据,我背后的语言使用C#作为我的代码。
这是法...
现在我要调用该方法使用一个jQuery与Ajax的JavaScript ...
public void search()
{
int id = Convert.ToInt32(txtSearch.Value.ToString());
ds.Clear();
ds = (DataSet)ser.getDataID("SP_SELECT_DATA_FROM_INFO", id);
if (ds.Tables[0].Rows.Count > 0)
{
grdMyGrid.DataSource = ds;
grdMyGrid.DataBind();
}
else
{
Response.Write("No Record Found");
}
}
我会尝试,但它不工作
{C} 请帮助我....
| Tejas_Vaishnav