Adding a checkbox column to a databound DataGrid

Discussion in 'ASP .Net' started by RSH, Dec 28, 2006.

  1. RSH

    RSH Guest

    Hi,

    I have a datagrid that is bound to a datasource. I now need to add a
    checkbox column to the datagrid in column(0) position which is independent
    of the datasource. I will be checking for the checked checkboxes on
    postback and writing the ID column value to a table.

    I need to add the checkbox column in code.

    How do i go about doing this?

    Thanks!
    Ron
     
    RSH, Dec 28, 2006
    #1
    1. Advertising

  2. RSH

    Mark Rae Guest

    Mark Rae, Dec 28, 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. =?Utf-8?B?TmFyZXNo?=

    datagrid databound template column javascript problem

    =?Utf-8?B?TmFyZXNo?=, May 5, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,684
    avnrao
    May 5, 2004
  2. rodchar
    Replies:
    0
    Views:
    399
    rodchar
    Nov 26, 2007
  3. Gregory Rampton

    Convert an MS Access Yes/No column to a checkbox column in C# datagrid

    Gregory Rampton, Aug 6, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    212
    Gregory Rampton
    Aug 6, 2003
  4. susan

    databound column to hyper link column

    susan, Jan 8, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    138
    S. Hussain Akbar
    Jan 12, 2004
  5. Manu
    Replies:
    0
    Views:
    177
Loading...

Share This Page