DataTable mytable=dataSet11.Tables ["学生信息"];
DataRow dr=mytable.NewRow (); dr[0]=System.Convert.ToInt32(textBox1.Text.Trim());
dr[1]=textBox2.Text.Trim();
dr[2]=comboBox1.Text;
dr[3]=textBox4.Text.Trim();
dr[4]=System.Convert.ToInt32(textBox5.Text.Trim());
dr[5]=textBox6.Text.Trim();
dr[6]=textBox7.Text.Trim();
dr[7]=textBox8.Text.Trim(); mytable.Rows .Add (dr);//数据行对象
SqlCommandBuilder scb=new SqlCommandBuilder(sqlDataAdapter1);
textBox1.Text=textBox2.Text=comboBox1.Text=textBox4.Text=textBox5.Text=textBox6.Text=textBox7.Text=textBox8.Text="";
textBox1.Focus();这样没有更新数据库,只更新了数据集,怎么才能更新数据库呢?