protected void InsertData() { ArticleInfo info = new ArticleInfo(); info.ac_id = Tools.TryParseMethod(ddlCategory.SelectedValue); info.a_title = txtName.Text; info.a_detail = Ckeditorl1.Text; info.a_ts = DateTime.Now; info.a_editDate = DateTime.Now; info.a_show = bool.Parse(rbShow.SelectedValue); info.a_img = hfProductImage.Value; info.l_id = lid; if (aBLL.Insert(info) > 0) { InsertArticleImage(aBLL.GetDataOrderIdDESC().a_id); SessionClear(); Response.Redirect("List.aspx?header=" + Getmessage("30009")); } }