Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku
My account: Login | Sign Up
Loading... 

Cannot implicitly convert type 'System.DateTime' to 'string' error is rising | Thread profile

Thread profile page for "Cannot implicitly convert type 'System.DateTime' to 'string' error is rising" on http://www.codeproject.com. This report page is a snippet summary view from a single thread "Cannot implicitly convert type 'System.DateTime' to 'string' error is rising", located on the Message Board at http://www.codeproject.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity, which are reported in a table below. Additional thread profile information is also shown in the following ways:

1) Top Contributing Authors
2) Related Threads on "eBay Auctions"
3) Related Threads on Other Sites

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a thread's popularity and/or exact posting volumes at any given reporting period.

Title: Cannot implicitly convert type 'System.DateTime' to 'string' error is rising
Site: CodeProject: Discussion Boards. Free source code and programming help  CodeProject: Discussion Boards. Free source code and programming help - site profile
Forum: C#  C# - forum profile
Total authors: 4 authors
Total thread posts: 4 posts
Thread activity: no new posts during last week
Domain info for: codeproject.com

Thread posts in Cannot implicitly convert type 'System.DateTime' to 'string' error is rising:

1. 
Started 8 months, 1 week ago (2008-10-30 02:20:00)  by Samiullah
Hi, Can anyone tell me why the error is coming like "Cannot implicitly convert type 'System.DateTime' to 'string'"? When i work with the following code. Code: protected void Page_Load(object sender, EventArgs e) { Label1.Text = DateTime.Now; Label2.Text = DateTime.Now; Label3.Text = DateTime.Now; } Thanks in advance.
Size: 441 bytes
Customize:  Customize "Cannot implicitly convert type 'System.DateTime' to 'string' error is rising :: C# :: CodeProject: Discussion Boards. Free source code a..."
2. 
Started 8 months, 1 week ago (2008-10-30 02:23:00)  by TommyTomToms
Because DateTime.Now is of type DateTime... Try Label1.Text = DateTime.Now.ToString(); or custom format Label1.Text = DateTime.Now.ToString("yyyy-MM-dd"); //etc...
Size: 245 bytes
Customize:  Customize "<b>Reply 1</b>: Cannot implicitly convert type 'System.DateTime' to 'string' error is rising :: C# :: CodeProject: Discussion Boards. Free source code a..."
3. 
Started 8 months, 1 week ago (2008-10-30 02:28:00)  by CPallini
Well, the error message is clear...
Size: 158 bytes
Customize:  Customize "<b>Reply 2</b>: Cannot implicitly convert type 'System.DateTime' to 'string' error is rising :: C# :: CodeProject: Discussion Boards. Free source code a..."
4. 
Started 8 months, 1 week ago (2008-10-30 03:17:00)  by EliottA
Everyone gets bogged down in the beginning with small things like t hat
Size: 101 bytes
Customize:  Customize "<b>Reply 3</b>: Cannot implicitly convert type 'System.DateTime' to 'string' error is rising :: C# :: CodeProject: Discussion Boards. Free source code a..."
 

Top contributing authors for Cannot implicitly convert type 'System.DateTime' to 'string' error is rising

Name
Posts
Samiullah
1
user's latest post:
Cannot implicitly convert type...
Published (2008-10-30 02:20:00)
Hi, Can anyone tell me why the error is coming like "Cannot implicitly convert type 'System.DateTime' to 'string'"? When i work with the following code. Code: protected void Page_Load(object sender, EventArgs e) { Label1.Text = DateTime.Now; Label2.Text = DateTime.Now; Label3.Text = DateTime.Now; } Thanks in advance.
TommyTomToms
1
user's latest post:
Cannot implicitly convert type...
Published (2008-10-30 02:23:00)
Because DateTime.Now is of type DateTime... Try Label1.Text = DateTime.Now.ToString(); or custom format Label1.Text = DateTime.Now.ToString("yyyy-MM-dd"); //etc...
CPallini
1
user's latest post:
Cannot implicitly convert type...
Published (2008-10-30 02:28:00)
Well, the error message is clear...
EliottA
1
user's latest post:
Cannot implicitly convert type...
Published (2008-10-30 03:17:00)
Everyone gets bogged down in the beginning with small things like t hat