New Product Launch - BoldDesk !
Introducing help desk ticketing software.
New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
Grid[gridRow, (int)ColumnOffsets.ServerSelectedColumn].CheckBoxOptions = new GridCheckBoxCellInfo(true.ToString(), false.ToString(), "", false);
Grid[gridRow, (int)ColumnOffsets.ServerSelectedColumn].CellValueType = typeof(bool);
This code assumes you want to actually store bool values true and false into your datasource. If you are storing "1" ann "0", then you should change these lines to:
Grid[gridRow, (int)ColumnOffsets.ServerSelectedColumn].CheckBoxOptions = new GridCheckBoxCellInfo("1", "0", "", false);
Grid[gridRow, (int)ColumnOffsets.ServerSelectedColumn].CellValueType = typeof(string);