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.private void Form1_Load(object sender, System.EventArgs e) { DataTable dt = new DataTable("MyTable"); int nCols = 4; for(int i = 0; i < nCols; i++) dt.Columns.Add(new DataColumn(string.Format("Col{0}", i))); this.gridDataBoundGrid1.GridBoundColumns.Add(new GridBoundColumn()); this.gridDataBoundGrid1.GridBoundColumns[0].MappingName = "Col1"; this.gridDataBoundGrid1.GridBoundColumns[0].HeaderText ="Some text"; this.gridDataBoundGrid1.DataSource = dt; }