PC Review


Reply
Thread Tools Rate Thread

datagrid default date format

 
 
Curtis
Guest
Posts: n/a
 
      24th Oct 2004
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?


 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      24th Oct 2004
Hi,

http://msdn.microsoft.com/library/de...asicprimer.asp

Ken
----------------
"Curtis" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
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?



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date format in Datagrid vineethash@gmail.com Microsoft ASP .NET 2 6th Jul 2007 09:52 AM
In datagrid, how do you format a date? tomcarr1@gmail.com Microsoft Dot NET 1 9th Jun 2006 08:26 PM
Date format in datagrid =?Utf-8?B?RGVyZWsgVmluY2VudA==?= Microsoft ASP .NET 2 6th Apr 2006 06:00 PM
Date format in the DataGrid Ky Microsoft Dot NET Compact Framework 2 24th May 2005 06:26 PM
Format a Date in a DataGrid Wayne Wengert Microsoft ASP .NET 2 26th Jan 2004 03:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:00 AM.