G
Guest
I have a datagrid that uses a dataview object for its datasource. The
dataview contains a unique row identifier column. I don't want to display
this column in the datagrid. I need the unique row Identifier column so that
I can run updates on the SqlAdapter object. Is there a way to hide this
column from the datagrid?
Dim dv1 As New DataView(ds.Tables("tbl1"))
dv1.AllowNew = False
dgr1.DataSource = dv1 '--dgr1 is the datagrid
I checked the dropdown lists for dv1 and dgr1 but did recognize anything for
hiding a column.
Thanks,
Rich
dataview contains a unique row identifier column. I don't want to display
this column in the datagrid. I need the unique row Identifier column so that
I can run updates on the SqlAdapter object. Is there a way to hide this
column from the datagrid?
Dim dv1 As New DataView(ds.Tables("tbl1"))
dv1.AllowNew = False
dgr1.DataSource = dv1 '--dgr1 is the datagrid
I checked the dropdown lists for dv1 and dgr1 but did recognize anything for
hiding a column.
Thanks,
Rich