PC Review


Reply
Thread Tools Rate Thread

Default values being ignored after added a new record using Datatable

 
 
EFileTahi-A Badler via DotNetMonster.com
Guest
Posts: n/a
 
      10th Feb 2005
Hello folks, first time here, dropping global greetings to everyone...

Anyway, I have a prob when updating rows into my access database.
I can successfully update/add the rows to the data base, the only prob I
have is when I insert/add a new record, it will just ignore all its
defaults fields values (if they have any ofcourse), that is, imagine that I
have 20 fields in numeric format having "0" as default value. Whenever I
add a new record filling up only few fields with new values all the
untouched fields will remain null ignoring its default value...

Am using an DataAdapter.Update() to update changes comminted on a DataTable
back into the database.

Please aid.
Thank you

--
Message posted via http://www.dotnetmonster.com
 
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
A DataTable-bound DataGridView throws a low-level Exception whencolumns are sorted, removed and re-added to the underlying DataTable. Sath123 Microsoft Dot NET Framework Forms 1 12th May 2008 12:51 PM
Resetting textbox values to blank after new record is added i.e. h =?Utf-8?B?Tmljaw==?= Microsoft Access Form Coding 1 26th Sep 2007 04:12 PM
Datatable default values Vik Microsoft ASP .NET 1 25th Feb 2006 04:15 AM
DataTable with Column Default Values not working as execpted William F. Kinsley Microsoft ADO .NET 1 23rd Dec 2005 04:54 AM
Default Values added to existing records? Miriam White Microsoft Access Database Table Design 1 8th Jul 2003 04:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:47 AM.