R
Richard Brunet
Hi,
I have a DataTable that has a Color type DataColumn. I use
OleDbDataAdapter.Update(myTable) to update the db. Is there a place(an
event?) where i can do a type conversion from Color to string (or int) so
that the value can be saved in the db? What is the preferred way of
saving/reading Color DataColumns in the db? The point is the call to
OleDbDataAdapter.Update(myTable) appears to be atomic an offers no event to
do such a conversion. Therefore, you end up with a string column in the db,
and an incompatible Color DataColumn in your DataTable ! I'm caught with
this.
Thanks for any help!
I have a DataTable that has a Color type DataColumn. I use
OleDbDataAdapter.Update(myTable) to update the db. Is there a place(an
event?) where i can do a type conversion from Color to string (or int) so
that the value can be saved in the db? What is the preferred way of
saving/reading Color DataColumns in the db? The point is the call to
OleDbDataAdapter.Update(myTable) appears to be atomic an offers no event to
do such a conversion. Therefore, you end up with a string column in the db,
and an incompatible Color DataColumn in your DataTable ! I'm caught with
this.
Thanks for any help!