Format data in a bound DataGrid in ASP.NET

  • Home
  • Blog
  • Format data in a bound DataGrid in ASP.NET

We Often need to format data in asp.net data grid. For example we have date time column then we need to to specific format like “dd/MM/yyyy”.

We can do this with dataformatstring property of a column. here we can write.

different format.

I have found a great link that contains all the format which asp.net data grid supports.

here is the link for that article..

http://www.thescarms.com/dotnet/formatdata.aspx