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

Comments

Popular posts from this blog

How to create Rest API(Web API) with ASP.NET Core 1.0

Creating PDF with ASP.Net MVC and RazorPDF

Solution: gulp is not recognized as internal or external command- Visual Studio