|
-
Mar 20th, 2003, 08:02 PM
#1
Thread Starter
Addicted Member
Help Please??
hey Everyone...
Here's what I need to do...
Right now I have a button I click to create a new invoice...this works fine..then when the form closes and the invoice is new...it inserts all the rows in the datagrid into my sql server database...
Now here's where I'm having problems.... If I edit an exsisting invoice...and add a new part to it....I need to also be able to insert into the database the newly added rows.....but I dont want to add the rows that were already added from the first time the invoice was created..otherwise there will be duplicates and primary key errors and so on...
So how can I check to see if a row has been newly added to the datatable..... then go through and only add the rows that are new this time??
Thanks in advance!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|