I Created a WebPart with a GridView.I get items of list and show in gridview.
Run-time ,datetime field displays only the time.
list.GetItems().GetDataTable();
|
|
|
You can set the DataFormatString property on your date BoundField:
A similar question was asked on Stackoverflow. |
|||
|
|