Edit data in a dataset datatable column automatically

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In my datatable I have a column of decimal values. I would like to edit any values in this column so that all values < 0 are set to 0, prior to updating my sql database. Any ideas on how I can achieve this

Many thank

Homer
 
Hi,
i hope you mean check column data in your datatable (dataset) beforu you
update sql database.
So you can handle event of datadapter (updating) where you can finally set
(and/or check) all values in your colums...

--

Pavel KOHOUT
Advantage Solutions, Ltd.
www.advantages.cz




Homer said:
In my datatable I have a column of decimal values. I would like to edit
any values in this column so that all values < 0 are set to 0, prior to
updating my sql database. Any ideas on how I can achieve this?
 
Back
Top