FeifeiDataSet fds = new FeifeiDataSet();
FeifeiDataSetTableAdapters.studentTableAdapter stuTblapt = new
FeifeiDataSetTableAdapters.studentTableAdapter();
stuTblapt.Fill(fds.student);
FeifeiDataSet.studentRow reStuRow = fds.student.FindBystu_id(10010);
fds.student.RemovestudentRow(reStuRow);
stuTblapt.Update(reStuRow);
foreach (FeifeiDataSet.studentRow sr in fds.student.Rows)
{
Console.WriteLine(sr.stu_id + " " + sr.stu_name + " " + sr.stu_address);
}
FeifeiDataSetTableAdapters.studentTableAdapter stuTblapt = new
FeifeiDataSetTableAdapters.studentTableAdapter();
stuTblapt.Fill(fds.student);
FeifeiDataSet.studentRow reStuRow = fds.student.FindBystu_id(10010);
fds.student.RemovestudentRow(reStuRow);
stuTblapt.Update(reStuRow);
foreach (FeifeiDataSet.studentRow sr in fds.student.Rows)
{
Console.WriteLine(sr.stu_id + " " + sr.stu_name + " " + sr.stu_address);
}