Please, Help me......Datagrid
-
I want to input value on datagrid, but I don't know how to check the primary key (when it's empty or duplicate). If have error message I want to display my error message not error of window. please... Thanks a lot.
-
I want to input value on datagrid, but I don't know how to check the primary key (when it's empty or duplicate). If have error message I want to display my error message not error of window. please... Thanks a lot.
If a DataTable is bound to your grid you could use its DataRowChanging/Changed events to validate data.
-
If a DataTable is bound to your grid you could use its DataRowChanging/Changed events to validate data.
Thanks for your help. I used design mode to created oledbadapter, oledbconnection, dataset and combine with a table on SQL Server 2000. When I press Tab key to enter a new row on datagridview but I can't check a old row. Could you help me and give me code demo. Thanks.