Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > DataGridView Column format
 

DataGridView Column format

I would like to do custom formatting in the DataGridView column like the String.Format("{0} - {0}", i). How can I make this using the Format inside CellStyle Builder?
cwlaualex  Tuesday, April 04, 2006 6:12 AM

Solution Found. Using the OnCellFormatting Event.

http://www.awprofessional.com/articles/article.asp?p=446453&seqNum=5&rl=1

cwlaualex  Tuesday, April 04, 2006 7:58 AM

Solution Found. Using the OnCellFormatting Event.

http://www.awprofessional.com/articles/article.asp?p=446453&seqNum=5&rl=1

cwlaualex  Tuesday, April 04, 2006 7:58 AM

You can use google to search for other answers

Custom Search

More Threads

• Deep confusion.....Urgent,Plz help me
• Display selected xml information in XML Data Grid view
• Have problem in Datagridview cell merging,while scrolling horiezontally it gives problem.
• Editable Combobox in a datagridview
• Problems with a DataGridVew with a DataGridViewComboBoxColumn
• Adding column to table
• Bug in CurrencyManager.OnPositionChanged - eats exceptions
• control isnt displaying data
• Using AddingNew eventhandler to set defaults
• DataGrid rows not editable