Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert Data w/ DataSet and Retrieve Identity

Status
Not open for further replies.

jtgurkin

Technical User
Sep 16, 2002
47
US
I am using a dataset and sql express 2005 to handle my data. I need to be able to insert data in one table and then insert data in another related table at the same time taking the PK from on table to use as a FK in the other.

Is there anyway to accomplish this?
 
How can I edit the stored proceedure that the dataset builds for me?
 
Build the stored procedure on the database using the database tools (i.e. SQL Server uses Query Analyser, Management Studio, Enterprise Manager etc).


____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]

Need help finding an answer? Try the Search Facility or read FAQ222-2244.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top