Posted 4 October 2017, 1:55 pm EST
Hello,
I have a C1trueDBGrid which bounded to the sql database table.
I would like to delete the selected rows but not success.
The codes are below. would you please help me?
for (int r = 0; r < c1TrueDBGrid1.SelectedRows.Count; r++)
{
c1TrueDBGrid1.Bookmark = c1TrueDBGrid1.SelectedRows[r];
c1TrueDBGrid1.Delete();
}
Thanks,
Yanna