PC Review


Reply
Thread Tools Rate Thread

Adding .NewRow to a datatable with a primaryKey field

 
 
=?Utf-8?B?QWxhbg==?=
Guest
Posts: n/a
 
      23rd Feb 2004
H

When adding a new row to a datatables .row collection how do populate the primarykey field , ie SupplierId. Is there a way of retrieving the next available value automatically

Thank
Alan.
 
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
Typed DataTable - NewRow() - Identity Field TheMaxx Microsoft ADO .NET 4 29th Jun 2006 01:59 PM
Typed DataTable - NewRow() - Identity Field TheMaxx Microsoft C# .NET 1 28th Jun 2006 03:44 PM
Set primarykey to a datatable Lars E Microsoft C# .NET 4 26th Apr 2006 02:01 PM
Adding PrimaryKey to a DataTable Shawn Microsoft ASP .NET 1 21st Jun 2005 03:35 PM
DataTable.NewRow and DataTable.LoadDataRow Ashish Sheth Microsoft ADO .NET 3 7th Jul 2004 04:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:06 AM.