Databinding to combobox using vs.net

  • Thread starter Thread starter Lolli man
  • Start date Start date
L

Lolli man

Hi,
I got two tables 1) Contacts 2) Customer
The contacts table 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 for that particular ID.
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.
Any kind of help will be appreciated
 
Lolliman,

You can try to use the dataform wizard, however I am quiet sure that you
will not be happy from the result that.

I am not even sure if in that is including the updates of the database. For
the rest there is no non beta Microsoft product that does this automaticly
for you.

It would be strange, because for this is Office Access in my opinion.

I hope this helps?

Cor
 
Back
Top