datagrid problem anybody help me!!!
-
hi.. i have a question,the data in database(MS-SQLSERVER) is '2003-7-7 17:45:00' but when the date value display in the datagrid,it become '2003-7-7',the time part lost! so,what can i do if i want to the time part also appear in the datagrid? Thank you I try my best!
-
hi.. i have a question,the data in database(MS-SQLSERVER) is '2003-7-7 17:45:00' but when the date value display in the datagrid,it become '2003-7-7',the time part lost! so,what can i do if i want to the time part also appear in the datagrid? Thank you I try my best!
If it is AutoGenerateColumn you xan set its format in ItemDataBound event , otherwise in the propoerty builder for your datagrid for Bound Column there is a textbox which you can set format of your field. Mazy "Man is different from animals in that he speculates, a high risk activity." - Edward Hoagland
-
hi.. i have a question,the data in database(MS-SQLSERVER) is '2003-7-7 17:45:00' but when the date value display in the datagrid,it become '2003-7-7',the time part lost! so,what can i do if i want to the time part also appear in the datagrid? Thank you I try my best!
but it's webform program I try my best!
-
but it's webform program I try my best!