Click here to Skip to main content
15,886,798 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
Good Morning to all,

I create one tabControl form in that tab personaldetails,contactsdetails,educations etc.

and one binding Navigator on top that want get Employee id.

how i will get all tables values in one tabcontrol form.
i created one employee table
and personaldetails,contactsdetails,etc.
if form load i want to get all information in form

what i want to do?

thanks in advance
Posted

1 solution

I don't have VS installed as of now, but I think it could be done as follows.

After adding the binding source navigator control, add the text boxes which will be used to add/edit/view values from the db. Select one of the textboxes and go the the BindingSource property and use the Data Source configuration Wizard - which should setup the Table Adapter, DataSet and BindingSource for your form.
Now, for each of the text boxes set the Data Binding property by selecting the correct field from the Binding dataset (in text box properties)
Bind the BindingSource Control to the Dataset.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900