Is it possible to programmatically add a row to a GridView in C# ASP?
If yes, how ?
I want to add static data directly from the code, not from an array nor an da
I still recommend that you use binding/datasource, but of course you don't have to. The following should do what you want:
DataGridViewTextBoxColumn columntype = new DataGridViewTextBoxColumn(); columntype.HeaderText = "Type"; columntype.Width = 80; dataGridView1.Columns.Add(columntype);