Click here to Skip to main content
14,421,753 members
Rate this:
Please Sign up or sign in to vote.
See more:
i have two buttons One is Save and anothere is Save Tour Details.

on save click i have to insert all values into two table
One table is tblEmpTourDetails and another one is tblEmpSlipDetails

On Save Tour Details Click I have to fill one object and bind grid with this object.
another On Save Tour Details Click again i have to bind grid with object.
but Previous record Should be in grid
Like this i have to insert n time record into grid or bind grid n times

on save click i create one guid fileld which is unique for both table but this guid fill is primary for tblEmpTourDetails and foreign for tblEmpSlipDetails and all record have to insert into db .
all grid record have to take into list and one by one have to insert into tblEmpSlipDetails .

please tell me how to bind grid on each Save Tour Details click?
is there another to do this task
please reply asap
Posted

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

wrote:
please tell me how to bind grid on each Save Tour Details click?


Read the data from the DB and bind it to the control. What other possible answer is there ?
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100