1.在PAGE_LOAD中
 调用下面语句为页面中的TEXTBOX赋值.
   SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings      ["DBConnection"].ToString());
con.Open();
SqlCommand com = con.CreateCommand();
com.CommandText = "select * from pinglun where id="+id;
SqlDataReader dr = com.ExecuteReader();
if(dr.Read())
{
this.TxtTitle.Text=dr["title"].ToString();
this.editor.Text = dr["content"].ToString();
}
dr.Close();
.
然后在更改了文本信息后,点提交的时间,问题出现了.
就是更好后的内容没有读出来.
如.假说上面语句中TxtTitle.Text="aa";
然后在网页上将其改成"bb",
但是在点提交更新的时候,发现值还是"aa".
上次出现过这个问题,但是不知道怎么解决了.
这次要弄个清楚,
请高手指点