anup phansa

Hi, All

I have set ¡°CustomerId¡± Field is invisible in datagridview

When First time assign datatable to datagridview it is work fine.

But when I do

Datagridview.datasource=null

After then assign Datatable, It display the ¡°CustomerId¡± column

I want to datagrid does not display ¡°CustomerId¡± Column after assign null value to Datagridview

So please give proper idea

Thanks

Anup patel




Re: Windows Forms General DataGridveiw display invisible Column , After Assign datagridview.datasource=null

H. Tony

just a wild guess, did you set the 'invisible' property when you load the data for the datagrid