Below is my code:
var grid = new GridView(); grid.DataSource = myDataset; grid.DataBind();
I want to format some of the columns of my grid to
Google brought me here, so I thought I'd share my answer. Here's how I got to format one cell to currency in asp.net.
With Me.ratesGridView .Rows(i).Cells(4).Text = FormatCurrency(.Rows(i).Cells(4).Text) End With
Enjoy.