Format datagridview
I need to format the column in datagrid view in window form, the column is added from data table and bind with grid view 's datasource property. how can we show the amount populated from databse in currency format. please help.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Ankit NandekarRank #703 · 3.4K reputationPosted Apr 19, 2011, 3:03 AM EDT
DataGridView1.Columns[column index].DefaultCellStyle.Format = "##,0";
ds ps62 reputationPosted Apr 19, 2011, 9:17 PM EDT
Ankit NandekarRank #703 · 3.4K reputationPosted Apr 19, 2011, 9:19 PM EDT