checkbox with datagrid

Discussion in 'ASP .Net' started by nasirmajor@yahoo.com, Jun 20, 2006.

  1. Guest

    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
    , Jun 20, 2006
    #1
    1. Advertising

  2. 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

    <> wrote in message
    news:...
    > 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
    >
    Eliyahu Goldin, Jun 20, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tshad
    Replies:
    0
    Views:
    491
    tshad
    Apr 15, 2005
  2. Vikram

    disable checkbox list checkbox

    Vikram, Jan 25, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    1,362
    ThunderMusic
    Jan 25, 2006
  3. =?Utf-8?B?RG90TmV0RGV2?=

    DataGrid and embeded Checkbox..How to find if checkbox clicked

    =?Utf-8?B?RG90TmV0RGV2?=, Oct 6, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    787
    David Wier
    Oct 6, 2006
  4. Jason Huang
    Replies:
    0
    Views:
    528
    Jason Huang
    Jun 29, 2007
  5. Joey Pang
    Replies:
    4
    Views:
    496
    Joey Pang
    Jun 13, 2005
Loading...

Share This Page