checkbox with datagrid

N

nasirmajor

dear all,
will you please give me a small hint
e.g in datagrid(databounded) there are 10 rows of different jobs having
checkboxes with all rows(in template column of datagrid). if user check
any no. of jobs in it and clicks button he is redirected to another
page/panel. Where there is form getting his personal info and selected
jobs(from previous page/panel). and there he post his application with
selected jobs to database.
idea i want is that how to get values in the target page of the fields
that are checked by the user.
any small sample code in which just two records of datagrid and user
click any no. of jobs and his values of checkd rows are fetched in the
new page
please any small sample code with c#
thanks in advance
 
E

Eliyahu Goldin

You need to save the user selection on the first page for the second one to
pick up. There is a variety of ways of doing this. You can use a session
variable for storing an array of selected jobs. Or you can simply put them
in the query string part of the second page url.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top