Are you working with MS-Access or SQL Server, Can you share your code with us. - Krishna Vemuri
Trevor Thompson <[EMAIL PROTECTED]> wrote: i'm not using the dataAdapter to insert, update, or delete. i'm just using it to select and fill. and then i'm taking care of the rest myself. --- In [EMAIL PROTECTED], shannon hall <[EMAIL PROTECTED]> wrote: > Not only will the table have to have a Identity insert > but you should havea data table derived from a data > adapter with the appropriate select, insert, update > and delete statements. This way, your data integrity > is insurred. > > > --- Onur Bozkurt <[EMAIL PROTECTED]> wrote: > > > why don't use use "Identity Insert" ? Create a > > column and make its Identity property to true. > > ----- Original Message ----- > > From: Trevor Thompson > > To: [EMAIL PROTECTED] > > Sent: Monday, August 16, 2004 9:42 PM > > Subject: [AspNetAnyQuestionIsOk] finding largest > > primary key value in my DataSet > > > > > > i need to insert a new row in my dataset > > datatable. my datatable has > > a primary key. i need to assign a unique value for > > my primary key > > column in my newly inserted row. how can i do > > this? i need to figure > > out how to find the max value of primary key in my > > dataset and add a > > 1 to it to have an unused unique value. > > > > tks! > > > > > > Yahoo! Groups Sponsor > > ADVERTISEMENT > > > > > > > > > > > > > -------------------------------------------------------------------- ---------- > > Yahoo! Groups Links > > > > a.. To visit your group on the web, go to: > > > > http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ > > > > b.. To unsubscribe from this group, send an > > email to: > > > > [EMAIL PROTECTED] > > > > c.. Your use of Yahoo! Groups is subject to the > > Yahoo! Terms of Service. > > > > > > > > [Non-text portions of this message have been > > removed] > > > > > > > > > _______________________________ > Do you Yahoo!? > Express yourself with Y! Messenger! Free. Download now. > http://messenger.yahoo.com Yahoo! Groups SponsorADVERTISEMENT --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/