G
Guest
I have an unbound datagrid that has the DataSource set at run time depending on the user selection of various catergories
In the Grid there is for column(0) a select command button that is not visible and is used to select the row in the gird
The next column is the column I an trying to hide like so
With grdDatastor
.DataSource = GetData(,,,
.DataKey = "ID
.Databind(
.Column(1).Visible = False <============= This is where I get the erro
End Wit
Coulmn(1) will not always have the same data source i.e it is not always "ID" but i would like to hide it in certain cases. I do this by having a select case in order to set the Datasource
Do I need to hide the column befor the DataBind
Any help is appreciated
Thank
Jawaha
In the Grid there is for column(0) a select command button that is not visible and is used to select the row in the gird
The next column is the column I an trying to hide like so
With grdDatastor
.DataSource = GetData(,,,
.DataKey = "ID
.Databind(
.Column(1).Visible = False <============= This is where I get the erro
End Wit
Coulmn(1) will not always have the same data source i.e it is not always "ID" but i would like to hide it in certain cases. I do this by having a select case in order to set the Datasource
Do I need to hide the column befor the DataBind
Any help is appreciated
Thank
Jawaha