R
Reney
I have a very weird problem in updating my datagrid. Please help me to solve
it. The datagrid is tied to a dataset table with five columns. Three of them
are primary key and the other two columns are the ones that are of interest.
These
two columns have "date" type values and shows short time (i.e. 11:39).
The program updates the database if I change the values in these columns, or
add a new record, or
delete a record. But, if one of these two columns have null value, it won't
let me to enter a new value to that column. And the error it gives is
"concurrency
violation. 0 rows are updated." Again, if one of these two columns have null
value,
and if I try to modify the other column's value, again it doesn't do the
update and the
error tells that it cannot cast "" string to date type.
Please give me any idea that might help me to solve this problem,
Thanks in advance
Reney
it. The datagrid is tied to a dataset table with five columns. Three of them
are primary key and the other two columns are the ones that are of interest.
These
two columns have "date" type values and shows short time (i.e. 11:39).
The program updates the database if I change the values in these columns, or
add a new record, or
delete a record. But, if one of these two columns have null value, it won't
let me to enter a new value to that column. And the error it gives is
"concurrency
violation. 0 rows are updated." Again, if one of these two columns have null
value,
and if I try to modify the other column's value, again it doesn't do the
update and the
error tells that it cannot cast "" string to date type.
Please give me any idea that might help me to solve this problem,
Thanks in advance
Reney