DataGridViewTextBoxColumn textColumn = new DataGridViewTextBoxColumn(); textColumn.DataPropertyName = "column1"; textColumn.Name = "column1"; textColumn.ReadOnly = true; dataGrid.Columns.Add(textColumn); textColumn = new DataGridViewTextBoxColumn(); textColumn.Name = "column2"; dataGrid.Columns.Add(textColumn);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)