Top "Cell-formatting" questions

DefaultCellStyle format is not applied when DataGridView is bound

I have a code that binds datagridview to datatable through a binding source: _bind.DataSource = Table; lGrid.DataSource = _bind; In …

c# data-binding datagridview cell-formatting
Is there a way to force a DataGridView to fire its CellFormatting event for all cells?

We use the CellFormatting event to colour code cells in various grids all over our application. We've got some generic …

winforms datagridview cell-formatting
CellFormatting event in C# is really slow

I have been struggling with CellFormatting event, it's so slow. I have a DataGridView something like this: I have written …

c# performance cell-formatting
Convert Date to Text without losing the format in Excel?

I have a column in Excel Sheet which contains all the dates in custom dd-mm-yyyy format. I need to convert …

excel date cell-formatting
Capturing Time Values from an Excel Cell

I am writing an Excel app that will read and write specified values from an Excel file, and display them …

c# excel cell-formatting