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
everyday I want to insert all employees names cloumn in employees table
to worktimes table programtically in datagridview
I have 80 employee name
Loading
R JPosted Aug 26, 2014, 2:51 PM
R JPosted Aug 26, 2014, 2:14 PM
Or you need editable datagridview to manually enter Employee Id and work times?
firas shaarPosted Aug 26, 2014, 1:59 PM
datagridview is three columns
employee_id column is primary key in employees table and foreign key in worktimes table
start job time column in worktimes table
end job time column in worktimes table
button_click event is add button
I want to add all employees names in employess column in datagridview and I want to add 8 Am at start job time column and 18 pm in end job time column everyday when button_click
I have 80 employees therefore must add 80 rows in datagridview everyday
every row consist from employee name and 8am and 18 pm
R JPosted Aug 26, 2014, 11:40 AM
Also, I do not understand what is your requirement on insertion of employees on daily basis that too only names.
What is the button click event, Is the button for "EDIT" or "ADD" ?
Do you add/edit work items too?
can you try with hierarchical datagridviews. ?
Can you please explain your requirement a bit better way to understand how your view would look like. thnx