views:

69

answers:

1

how to add checkbox column to gridview

                  foreach (GridViewRow objRow in GridView1.Rows)
                   {

                   TableCell tcCheckCell = new TableCell();
                    CheckBox chkCheckBox = new CheckBox();
                    tcCheckCell.Controls.Add(chkCheckBox);

                    objRow.Cells.Add( tcCheckCell);
                   }

how to add the objrow to gridview again

or any other choice

A: 

Here is a good example of how to do it.

Sani Huttunen