Home / FAQ / ASP.NET / DataGrid / How to display only date part in the Datagrid if the Date is of DateTime datatype in the database
Set the DateFormatString as {0:d}
Platform BlazorASP.NETWinFormsWPFAngularReact
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with