Пример #1
0
 //add item to database + grid
 protected void Button1_Click(object sender, EventArgs e)
 {
     db.addItem(TextBox1.Text, TextBox2.Text, TextBox3.Text, TextBox4.Text, TextBox5.Text);
     GridView1.DataBind();
 }