Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

When reading from a table getting rid of the # in dr

Posted on 2007-03-29
1
161 Views
Last Modified: 2010-04-16
+            rw(1)      #7/2/2006# {Date}      Object
+            rw(2)      #7/29/2006# {Date}      Object
Getting rid of the #
in the datetime?

 For Each rw As DataRow In dt.Rows
            _customer.GetCustomerList(selectedDBName, rw)
        Next
0
Comment
Question by:mathieu_cupryk
1 Comment
 
LVL 23

Accepted Solution

by:
Jens Fiederer earned 500 total points
ID: 18816960
That is just the way it is DISPLAYED.

If you want a datetime myDatetime displayed in a specific way, you can always do
myDatetime.Format("your-format-specifier-here")
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question