How to format the value of a DataGridView cell?
|
Article Information
|
Article relates to VIBlend DataGridView for WinForms
|
How To
|
Format cells values in vDataGridView for WinForms
|
Solution
|
To achieve this, follow these steps:
|
1. Create a new instance of the vDataGridView via drag and drop from the toolbox or create it programmatically.
|
2. Bind the DataGrid to the Northwind Invoices table( Nwind.mdb is included in the download of the VIBlend Controls for WinForms package).
|
|
3. Set a custom format string to an entire grid column.
|
|
|