protected void BtnProcedure_Click(object sender, EventArgs e)
 {
     db.CategoryInsert(txtName.Text.ToString(), txtDescn.Text.ToString());
     Bind(); //调用自定义方法,用于在gvCategory中显示最新结果
 }
Example #2
0
 protected void Button4_Click(object sender, EventArgs e)
 {
     db.CategoryInsert(TextBox1.Text.ToString(), TextBox2.Text.ToString());
     Bind();
 }