Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > row header in datagridview
 

row header in datagridview

hello all

i added column header text in datagridview

like dgv.columns.add("Name","Name")

i need to row header text in datagridview

how to do this

Please help me

Thanks in Advance

Regards

Balagangadharan.R

Balagangadharan  Saturday, October 13, 2007 10:51 AM

You can paint in the row header in the CellPainting event. The column index will be -1 for the rowheader.

http://www.vb-tips.com/PaintRowHeader.aspx

Ken Tucker  Sunday, October 14, 2007 9:20 AM

You can paint in the row header in the CellPainting event. The column index will be -1 for the rowheader.

http://www.vb-tips.com/PaintRowHeader.aspx

Ken Tucker  Sunday, October 14, 2007 9:20 AM

You can use google to search for other answers

Custom Search

More Threads

• Change HEADER of Datagridview by Comdobox Selection
• double click datagrid view and get data?
• How do I Refresh a DataGridView
• DataSet serialization
• Related ComboBox with BindingSource filter
• delete from datagridview
• Datagridview onMouseClick onMouseDoubleClick
• DGVComboBoxColumn DataBinding
• Combo Box Items Value
• Windows Control Library in WebForm