Good day;
i want to add row in blank DataGridView by DataTable, this adding should follow 1 rule (in pseudo code)::
"IF item before added, update 'Number' cell by refrenced TextBox (DataGridView Cell's: FName, LName, Number)
ELSE add new row"
but there are two problems:
1. first row could not be added by below code (no error). (first row should be add by another button or default value)
2. Compare to find a existent row similar to the row being added, played only the first row of the DataGridView.
my code: attached
Please help me by code

1 short reply
Hadi Muhammadi3 pointsPosted Aug 31, 2015, 1:51 PM EDT