Click here to Skip to main content
15,901,205 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: (untagged)
I have two tables
first is called employees table and the other one is worktimes table
employee_id column is primary key in employees table and foreign key in worktimes table
when button_click event
I want to insert all employees names cloumn in employees table
to worktimes table programtically in datagridview
I have 80 employee name
Posted
Comments
MuhammadUSman1 26-Aug-14 6:32am    
You want to insert in database from girdview? Or you want to insert 80 rows in gridview programmatically? Couldn't understand what exactly you want to do?

if you want to insert in database then you can use DataAdapter.

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