G
Guest
I have been trying for days to format the datagrid programmically.
Me.SqlDataAdapter1.Fill(Me.DataSet11
Dim tablestyle As New DataGridTableStyl
tablestyle.MappingName = "keywords
Dim column As New DataGridTextBoxColum
column.MappingName = "Keyword
column.HeaderText = "K
column.Width = 3
tablestyle.GridColumnStyles.Add(column
Me.DataGrid1.TableStyles.Add(tablestyle
The data grid always displays four columns with data from the corresponding table. I am just trying to have it display one column programmically. Does anyone have any suggestions on where I should look to try and fix the problem?
Me.SqlDataAdapter1.Fill(Me.DataSet11
Dim tablestyle As New DataGridTableStyl
tablestyle.MappingName = "keywords
Dim column As New DataGridTextBoxColum
column.MappingName = "Keyword
column.HeaderText = "K
column.Width = 3
tablestyle.GridColumnStyles.Add(column
Me.DataGrid1.TableStyles.Add(tablestyle
The data grid always displays four columns with data from the corresponding table. I am just trying to have it display one column programmically. Does anyone have any suggestions on where I should look to try and fix the problem?