Checkbox value in DataGrid

Results 1 to 2 of 2

Thread: Checkbox value in DataGrid

  1. #1
    Join Date
    Dec 1969

    Default Checkbox value in DataGrid

    I have a datagrid with a template column containing a checkbox. I am listing company names and other details within the datagrid. How can I assign the checkbox value = to the company id? I will need to know which companies are selected.<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Checkbox value in DataGrid

    JP, while you can roll your own solution, you might want to check out Andy Smith&#039;s RowSelectorColumn DataGrid Column -<BR><BR>Anyway, to answer your question, what you probably want to do is to use the DataGrid&#039;s DataKeyField/DataKeys properties to maintain the CompanyID for each row in the DataGrid.<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts