Changing DateTime format of a gridview column
-
Hi I have a GridView that initializes when page is load,its data source is a DataSet. One of the columns is in a DateTime type, how can i change its type or alternately its DateTime format. Thanks in advance, Yohay
By not using auto generated columns, so you can specify a format string
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
-
Hi I have a GridView that initializes when page is load,its data source is a DataSet. One of the columns is in a DateTime type, how can i change its type or alternately its DateTime format. Thanks in advance, Yohay
-
By not using auto generated columns, so you can specify a format string
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
-
Hi I have a GridView that initializes when page is load,its data source is a DataSet. One of the columns is in a DateTime type, how can i change its type or alternately its DateTime format. Thanks in advance, Yohay