Getting the value from ItemTemplate of DataList

Discussion in 'ASP .Net' started by Vannela, Dec 12, 2003.

  1. Vannela

    Vannela Guest

    I have got DataList on the aspx page .
    In the Item Template i have placed checkboxes.

    How can i get the value ie., whether the box is checked or
    not in the code behind page?

    Please give me some code snippets for my problem

    Thank you
     
    Vannela, Dec 12, 2003
    #1
    1. Advertising

  2. Use CheckBox cb = (CheckBox)e.Item.FindControl("cbName");
    "Vannela" <> wrote in message
    news:062301c3c075$d0d39660$...
    > I have got DataList on the aspx page .
    > In the Item Template i have placed checkboxes.
    >
    > How can i get the value ie., whether the box is checked or
    > not in the code behind page?
    >
    > Please give me some code snippets for my problem
    >
    > Thank you
     
    Oleg Medyanik, Dec 12, 2003
    #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. msnews.microsoft.com
    Replies:
    1
    Views:
    1,450
    Ken Cox [Microsoft MVP]
    Aug 11, 2004
  2. Stimp
    Replies:
    3
    Views:
    5,770
    Stimp
    Sep 10, 2004
  3. Bennett Haselton
    Replies:
    1
    Views:
    5,384
    Joe Fallon
    Sep 24, 2004
  4. msnews.microsoft.com

    Getting the value of another cell in Grid in ItemTemplate

    msnews.microsoft.com, Aug 9, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    162
    Ken Cox [Microsoft MVP]
    Aug 11, 2004
  5. msnews.microsoft.com

    Getting the value of another cell in Grid in ItemTemplate

    msnews.microsoft.com, Aug 9, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    149
    Ken Cox [Microsoft MVP]
    Aug 11, 2004
Loading...

Share This Page