Solved

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

Posted on 2007-03-29
1
160 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Set value of dynamically created checkboxlist 2 34
converto datetime always changes format 9 37
2 questions 10 25
Calculate number of nights between two dates 5 25
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 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