62,268
社区成员
发帖
与我相关
我的任务
分享
SqlDataAdapter ada = new SqlDataAdapter("SELECT * FROM Article WHERE id='" + articleid + "'", sqlconn);
DataSet ds = new DataSet();
ada.Fill(ds, "articleinf");
FCKeditor1.Value = ds.Tables["articleinf"].Rows[0]["Article_content"].ToString();
string sqlinsert = "UPDATE Article SET Article_content='" + FCKeditor1.Value + "' WHERE id='" + Request.QueryString["id"] + "'";
string sqlinsert = "UPDATE Article SET Article_content='" + FCKeditor1.Value + "' WHERE id=" + Request.QueryString["id"] ;
if(!IsPostBack)
{
}