PC Review


Reply
Thread Tools Rate Thread

Edit data in a dataset datatable column automatically

 
 
=?Utf-8?B?SG9tZXI=?=
Guest
Posts: n/a
 
      17th Mar 2004
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
 
Reply With Quote
 
 
 
 
Pavel KOHOUT
Guest
Posts: n/a
 
      17th Mar 2004
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" <(E-Mail Removed)> píše v diskusním příspěvku
news:54CB3535-09D5-4043-9439-(E-Mail Removed)...
> 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 thanks
>
> Homer



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
add new rows of data to a datatable of a dataset =?Utf-8?B?QW5kcmV3?= Microsoft ASP .NET 4 24th Mar 2006 10:10 AM
How to reteive data amongst different datatable within a dataset =?Utf-8?B?TGkgUGFuZw==?= Microsoft ADO .NET 2 1st Sep 2005 11:03 PM
New Column to DataSet.DataTable Xarky Microsoft C# .NET 4 26th Apr 2005 02:06 PM
Detect each column's data type of SalDataReader, DataSet, DataTable Hardy Wang Microsoft ADO .NET 5 27th Feb 2004 04:48 PM
Detect each column's data type of SalDataReader, DataSet, DataTable Hardy Wang Microsoft C# .NET 5 27th Feb 2004 04:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:53 PM.