SyntaxFix
Write A Post
Hire A Developer
Questions
Try using Delete method:
DataRow[] drr = dt.Select("Student=' " + id + " ' "); for (int i = 0; i < drr.Length; i++) drr[i].Delete(); dt.AcceptChanges();