473,385 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

DateTime values not displayed

We have encountered the following problem with DOT.NET 2003 development
environment. Sometimes while debugging, we the environment does not display
the values of DateTime variables and fields. Instead of the values, the
environment displays the wording "{System.DateTime}", and instead of the
properties of DateTime variables, the environment displays "error: cannot
obtain value".

We have copied the screens that display these messages and can send them by
email on request.

This is quite annoying not to see the date values while debugging. We would
appreciate any help.

Jul 21 '05 #1
1 1275
Hi Shai,

Are you referring to the values displayed in the Watch window?

What happens when you add a watch to the ToString of the date time variable?

Regards,
Rakesh Rajan

"Shai Zohar" wrote:
We have encountered the following problem with DOT.NET 2003 development
environment. Sometimes while debugging, we the environment does not display
the values of DateTime variables and fields. Instead of the values, the
environment displays the wording "{System.DateTime}", and instead of the
properties of DateTime variables, the environment displays "error: cannot
obtain value".

We have copied the screens that display these messages and can send them by
email on request.

This is quite annoying not to see the date values while debugging. We would
appreciate any help.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: scott | last post by:
I have a field with datetime values like below LISTING 1. Can someone help me write code strip the time part so only values like "7/15/2005" will be left. Note - We must be able to strip dates...
1
by: Lauchlan M | last post by:
Hi In an ASP.NET application, I am doing the following (dtrData is a data reader that has been loaded with data already): if (dtrData.Read()) { lblEDPresentationTime.Text = (DateTime)...
3
by: Andrew S. Giles | last post by:
Hello, I am importing a flat text file, and putting it into a datagrid for display on a form. Currently the users have their dates and times seperated. I have two fields, therefore in the...
13
by: dotnettester | last post by:
Hi, I have a simple page which reads date from a datetime column in database. Date stored in the database is in 'mmddyyy' format ('7/27/2005 07:30:00 AM') but the asp.net displays it as...
2
by: Jonesgj | last post by:
Hi, I have connected to a SQL Server table using dataAdapter/Dataset to fill a data grid. On SQL Server a column is a DateTime datatype (its actually a 'LastLogon' column ) and has both Date and...
9
by: Phil B | last post by:
I am having a problem with a datetime from a web services provider The provider is sending the following SOAP response <?xml version="1.0" encoding="utf-8"?> <soap:Envelope...
1
by: Shai Zohar | last post by:
We have encountered the following problem with DOT.NET 2003 development environment. Sometimes while debugging, we the environment does not display the values of DateTime variables and fields. ...
0
by: hykyit | last post by:
Hi, I am storing DateTime values in my database in the default mode (mm/dd/yyyy time) and when i retrieve the values from the database, I use:- CONVERT(CHAR(9), ScheduleDate, 3) as ScheduleDate...
1
by: =?Utf-8?B?RGFwcGVyRGFuSEBub3NwYW0ubm9zcGFt?= | last post by:
Given the example below, can someone explain why TimeSpan.TotalDays gives a different result than subtracting 2 DateTime.ToOADates? I am completely stumped. Thanks in advance, Dan Example...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.