Click here to Skip to main content
15,907,392 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need help in resolving this issue, my datagrid will display time column only if its datetime2(7) type but not for time(7). same issue with data type, it wont display only the date. i am not using column binding for formatting because i have multiple tables where a user chooses to view with a selection from a dropdownlist. so does datagrid not support sql 2008 new data types? or am i missing something here.
Posted

1 solution

Probably you should format the datetime in front-end....Try the following

Format data in a bound DataGrid in ASP.NET[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900