时间:2021-07-01 10:21:17 帮助过:6人阅读
你得把你点加上去的代码贴出来,加上去执行了什么操作,没代码没法看
你得把你点加上去的代码贴出来,加上去执行了什么操作,没代码没法看
string nicheng = txt_nicheng.Text.Replace("\r\n", "
");
string lianxi = txt_lianxi.Text.Replace("\r\n", "
");
string liuyan = txt_liuyan.Text.Replace("\r\n", "
");
string ins = "insert into massage(nicheng,lianxi,liuyan) values('" + nicheng + "','" + lianxi + "','" + liuyan + "')";
OleDbDataReader odr = da.ExceRead(ins);
Session["nicheng"] = nicheng;
Session["lianxi"] = lianxi;
Session["liuyan"] = liuyan;
string oid = "select * from massage where nicheng='" + nicheng + "' and liuyan='" + liuyan + "'";
DataSet ds = da.ExceDS2(oid, "id");
string id = ds.Tables["id"].Rows[0][0].ToString();
Session["id"] = id;
Session.Timeout = 20;
Response.Write("