关于GRIDVIEW控件内容保存问题
string postnum = Request.Params[ "addictno "];
OracleConnection xdryConn = new OracleConnection(ConfigurationManager.AppSettings[ "GXJDCONN "]);
xdryConn.Open();
OracleCommand xdryCmd = new OracleCommand( "SELECT * FROM temp where id = ' " + postnum + " ') ", xdryConn);
OracleDataAdapter xdryDd = new OracleDataAdapter(xdryCmd);
DataSet xdryDc = new DataSet();
xdryDd.Fill(xdryDc);
GridView1.DataSource = xdryDc;
GridView1.DataBind();
这是一条很简单的返回数据到GRIDVIEW,但是我按F5刷新后就没了,请问如何保持状态,刷新也不会被刷掉
------解决方案--------------------是不是因为你 Request.Params[ "addictno "];
这个参数没有了??????????