Click to See Complete Forum and Search --> : DataGrid Preventing Some items from not displaying


WillBoss
July 26th, 2006, 12:36 PM
Hi

I have a datagrid connected to a database and basically there is one row that I do not want displayed as it contains data that should not be modified.

How can I do this?

Thanks
Will

jasonli
July 26th, 2006, 12:42 PM
Set Property "Visible" of that column to "false".

OR you can set Property "AutoGenerateColumns" of datagrid to "false".

WillBoss
July 26th, 2006, 01:40 PM
I dont think that will work. Its one row of particular data that I do not want shown or modified.

WillBoss
July 26th, 2006, 01:54 PM
Sorted it........
DataGridView1.Rows(1).Visible = False