T
travlintom
Hi all.
I have a datagrid that has several columns including the Primary Key as
the first column.
When I add records to the grid the Primary Key column show "Null". This
would not be a problem, but I want my users to be able to delete the
column right away if they made a mistake with the entry. If the Primary
key is null I can't access the dataset to get the ID number of the row
to delete. Is there a way to refresh the datagrid immediately after
adding the row so I can see the Primary key value and not "null".
Thanks in advance.
Tom
I have a datagrid that has several columns including the Primary Key as
the first column.
When I add records to the grid the Primary Key column show "Null". This
would not be a problem, but I want my users to be able to delete the
column right away if they made a mistake with the entry. If the Primary
key is null I can't access the dataset to get the ID number of the row
to delete. Is there a way to refresh the datagrid immediately after
adding the row so I can see the Primary key value and not "null".
Thanks in advance.
Tom