我的代码如下
GRADE表的主键为stunum和coursename,我要删除学号为textBox.text的信息
                string findgradestu = "Select * From GRADE where stunum='" + textBox1.Text +"'";//要删除的信息
                DataSet ds1 = new DataSet();
               SqlDataAdapter sda1 = new SqlDataAdapter(findgradestu, thisConnection);
               SqlCommandBuilder scb1 = new SqlCommandBuilder(sda1);
               sda1.Fill(ds1, "GRADE");
                DataColumn[] keys= new DataColumn[2];
                keys[0] = ds1.Tables["GRADE"].Columns["stunum"];
                keys[1] = ds1.Tables["GRADE"].Columns["coursename"];
                ds1.Tables["GRADE"].PrimaryKey = keys;
                DataRow findRow1 = ds1.Tables["GRADE"].Rows.Find(textBox1 .Text  );//但是这句话会报错啊,很纠结
                if (findRow1 == null)
                {
                    MessageBox.Show("null");
                }
                else
                {                   
                    findRow1.Delete();
                    sda1.Update(ds1, "GRADE");
                }
请各位大侠帮我改下代码吧。