|
-
Jul 9th, 2004, 12:01 PM
#1
Thread Starter
Lively Member
problem with binding ADO.NET
Hi,
I got two tables 1) Contacts 2) Customer
The contacts has a primary key contactID(AutoIncrement) and all his personal information. The Customer is a contact too but with separate additional fields in the table. I join the relationship using tblCOntactsID = tblCustomeriD. Now my question is I am trying to develop a windows form automatically using vS.NET
I am binding all the fields from both the tables to the windows form fields. Is there a way where I can just bind and perform all the add, delete, Update operations without writing any code in the program. If I press add button all the fields shud be added to contacts with contactID incremented automatically and also simulataneously that information should go in to the customer table. Is there a way to do this using dataadapter, dataset tools. I can do this hard coding by writing the code for the add event. But can I do it automatically after binding. Your help will be appreciated.
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
|