Results 1 to 3 of 3

Thread: Date format, strongly type dataset

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Resolved Date format, strongly type dataset

    I have a table on a strongly typed DataSet with a column having a DateTime type. When filling from an adapter, how do I format the date to display on the grid as yyyy MM dd or something like .ToString("yyyy MM dd"); Need help here, thanks in advance.
    Last edited by nebulom; Dec 12th, 2005 at 05:09 AM.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Date format, strongly type dataset

    When it comes to formatting anthing in a DataGrid it's all about DataGridColumnStyles. Check out item 5.44 on the following link: http://www.syncfusion.com/FAQ/Window.../FAQ_c44c.aspx
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Re: Date format, strongly type dataset

    Thanks, I'll check that one out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width