M
mrwhat
Guest
I have a data grid view witch is populated with DataGridViewTextBoxColumns. How can i add a checkbox to a specific cell.
this is how i populate my datagridview --
private void setUpGridTableForGridView(int rows, int columns)
{
for (int i = 0; i < columns;i++ )
{
DataGridViewTextBoxColumn dgc = new DataGridViewTextBoxColumn();
RunTimeCreatedDataGridView.Columns.Add(dgc);
}
for (int i = 1; i < rows;i++ )
{
RunTimeCreatedDataGridView.Rows.Add();
}
}
Continue reading...
this is how i populate my datagridview --
private void setUpGridTableForGridView(int rows, int columns)
{
for (int i = 0; i < columns;i++ )
{
DataGridViewTextBoxColumn dgc = new DataGridViewTextBoxColumn();
RunTimeCreatedDataGridView.Columns.Add(dgc);
}
for (int i = 1; i < rows;i++ )
{
RunTimeCreatedDataGridView.Rows.Add();
}
}
Continue reading...