datagrid default date format

  • Thread starter Thread starter Curtis
  • Start date Start date
C

Curtis

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?
 
Hi,

http://msdn.microsoft.com/library/d...tingwindowsformsdatagridvisualbasicprimer.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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top