protected void imgbtEdit_Click(object sender, ImageClickEventArgs e) { Model.BooksInfo item = new Model.BooksInfo(); item.BookId = Convert.ToInt32(Request.QueryString["BookId"]); item.BookName = TextBox1.Text; item.BookIntroduction = fckAddbooks.Value; item.BookType = dBookType.SelectedIndex + 1; item.BookState = DropDownList1.SelectedIndex + 1; int count = Ia.EditBookFace(item); ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ok", "<script type='text/javascript'>alert('修改成功!');</script>", false); }
//修改书本信息 public int EditBookFace(Model.BooksInfo item) { return(IA.EditBookFace(item)); }