ajax 不执行ScriptManager.RegisterStartupScript
string strQuotat = "select * from tempt";DataTable tbQuotat = DBHelp.ExecuteDataSet(strConn, strQuotat).Tables[0]; //获取数据
this.gvquotat.DataSource = tbQuotat;//绑订gridview
this.gvquotat.DataBind();
string strQuto = tbQuotat.Rows[gvquotat.PageIndex * gvquotat.PageSize][0].ToString();//获取索引
ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "", "allQuotat('" + strQuto + "');", true);//在IFRAME 显示详细信息 --------------------编程问答-------------------- ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "", "这里写你所有的AJAX代码(把前台写的代码全都写在这里)", true); 试一下吧。
补充:.NET技术 , ASP.NET