Hi i have application where i have to export grid data on a page to another grid on other page..
my logic is i have grid with check boxes………and i have an admin and 3 users…i have one page for “admin” and one page for other “3 users” when they login they are taken to thier own page…..when admin logins he has the grid filled with data with check boxes…….
1)now the "admin" logins and visits his page his page looks like this
he has a button called assign work and a dropdownlist binded with three users names.
2)The admin selects some data using checkbox and selects the username from the dop down list ,and clicks on assign work button.
3)In the same way he does for other two users....
4)Here all the users have same page when user 1 logins he should be seeing only the work assigned to him by admin,when user two logins his work should be shown.
can any 1 tell me how to start this…how should i prepare the database and use that….
and can any provide me the required code…will be helpfull to me…
thanks in advance guys…
For your reference, please check the following. It is not perfect solution, need to modify some referential integrity, etc. Just provide you some idea for your requirements.
— DB design
———in aspx you have admin page and user page
In admin page, use templatefiled columns (user dropdown and task dropdown )
for User dropdown
for task drop down list
— when update task to each user event, read data from grid and save into ASSINGMENTS table
For User Page —
Just read data from ASSINGMENTS table join with USERS , TASKS tables as follow and bind to gridview