We're loading one datagrid with various data results from stored procedures
in MSSQL. When there is a date column only mm/dd/yy is displayed. Some
datasets have dates and others don't so it would be nice not to have to
specifically set the style of a particular column. Is there some way to
tell the datagrid how to display dates when it has one? Other suggestions?
Ken Tucker [MVP] - 24 Oct 2004 15:46 GMT
Hi,
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/ht
ml/vbtchformattingwindowsformsdatagridvisualbasicprimer.asp
Ken
----------------
We're loading one datagrid with various data results from stored procedures
in MSSQL. When there is a date column only mm/dd/yy is displayed. Some
datasets have dates and others don't so it would be nice not to have to
specifically set the style of a particular column. Is there some way to
tell the datagrid how to display dates when it has one? Other suggestions?