How to Remove DataGrid's Default Column

Hi Guys / Girls

I've an issue. I dont know you folks is awary of this.

Have you ever seen that whenever you add DataGrid into your Form. No Column and rows will be with Datagrid

Run you application as soon as you get DataGrid into your form. You can find one default column will be attached with DataGrid.

I want to hide that column through Coding . Is it possible ?

Thanks & Regards

Balaji KJ

[667 byte] By [KJBalaji] at [2007-12-24]
# 1
I am not really sure what you are asking. Could you post a link to a picture or email it to me.
KenTucker at 2007-8-31 > top of Msdn Tech,Windows Forms,Windows Forms Data Controls and Databinding...
# 2

hope u not talking about eh rowheader that is the column that appears on the left always, .. but with the grid defined...

then try

Me.DataGridView1.RowHeadersVisible = False

hrubesh at 2007-8-31 > top of Msdn Tech,Windows Forms,Windows Forms Data Controls and Databinding...