返回首页

我想打电话给我的页面背后的代码中声明的方法,实际上这种方法在ASP页refracing DataGrid中的数据,我背后的语言使用C#作为我的代码。
这是法...


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

            }

        }
现在我要调用该方法使用一个jQuery与Ajax的JavaScript ...

我会尝试,但它不工作
{C} 请帮助我.... | Tejas_Vaishnav

回答

评论会员:游客 时间:2012/02/04
创建为静态方法,并使用imgsrc=]属性
罗宾・里兹维
评论会员:游客 时间:2012/02/04
{C2的}在后面的代码{体C3}我希望我能为您解决问题。{的C4}