Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old October 3rd, 2012, 10:35 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

AFAIK, there should be a Kindle version as well.

When you mix versions of the book and source code, just be aware of the many differences. Compare the 3.5 and the 4.0 versions when you get stuck. I'll try to help everyone here on this forum, but using a 3.5 book, with VS 2010 and the code for 4.0 is not really a scenario I can fully support ;-)

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
  #12 (permalink)  
Old October 3rd, 2012, 11:03 AM
Registered User
Points: 30, Level: 1
Points: 30, Level: 1 Points: 30, Level: 1 Points: 30, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default new Reply dateTime code

Dear Imar
I just clicked on amazon link to say that I would like to read your new book on a Kindle version, as I hope that you kindly publish it in the kindle as well.
I am glad to know that you kindly helping me and all forum users will be able to help as well, as it is important to have help and support as I am new to ASP.Net however I find it interesting to learn all the skills required , yes I will take extra care when working with the code of version 4, on book 3.5.
Just out of interest the code for chapter 1 DateTime.Now.ToString()
Can we put yyyy-mm-dd and so on to specify formatting as shown with my copied code for formatting date and time?
DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss tt")
Thanks again for your kind reply
Kind regards
Zulu2012
Reply With Quote
  #13 (permalink)  
Old October 3rd, 2012, 11:07 AM
Registered User
Points: 30, Level: 1
Points: 30, Level: 1 Points: 30, Level: 1 Points: 30, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reply

Dear Imar
I just clicked on amazon link to say that I would like to read your new book on a Kindle version, as I hope that you kindly publish it in the kindle as well.
I am glad to know that you kindly helping me and all forum users will be able to help as well, as it is important to have help and support as I am new to ASP.Net however I find it interesting to learn all the skills required , yes I will take extra care when working with the code of version 4, on book 3.5.
Just out of interest the code for chapter 1 DateTime.Now.ToString()
Can we put yyyy-mm-dd and so on to specify formatting as shown with my copied code for formatting date and time?
DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss tt")
Thanks again for your kind reply
Kind regards
Zulu2012
Reply With Quote
  #14 (permalink)  
Old October 4th, 2012, 04:00 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
Can we put yyyy-mm-dd and so on to specify formatting as shown with my copied code for formatting date and time?
From a learning perspective, the best answer I can give to that question is: "Why don't you try it out"?

But yes, you can....

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
  #15 (permalink)  
Old October 4th, 2012, 02:26 PM
Registered User
Points: 30, Level: 1
Points: 30, Level: 1 Points: 30, Level: 1 Points: 30, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default DateTime Formatting

Dear Imar
Thanks for your reply yes I tried the DateTime formatting but unfortunately it did not work I copied the code for you to advise me of where I have gone wrong thanks:
<p>Welcome to Beginning ASP.NET 3.5 on <% = "DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss tt")" /%> </p>

Furthermore I just wanted to ask you on my version of Microsoft Visual Wed Developer Express 2010 4.5 that I downloaded it from
www.microsoft.com/express/
When I want to select Run with out Debugging I can not as I only have the Start Debugging and Stop Debugging options from the Debug menu so I can not see this function can you please advise as I would like to run my program with out Start Debugging at the moment.

With many thanks
Kind regards
Zulu2012
Reply With Quote
  #16 (permalink)  
Old October 4th, 2012, 04:04 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
it did not work
Please provide relevant information. What does "did not work" mean? Do you get an error?

Also, take another look at your code; the forward slash and the double quotes shouldn't be there. If you type code from the book, verify, and verify again, that you didn't make any typos. I am happy to help you out, but I am not your debugger.... ;-)

Quote:
Microsoft Visual Wed Developer Express 2010 4.5
This doesn't seem right. VWD 2010 comes with .NET 4, and Visual Studio Express for Web 2012 comes with .NET 4.5

To start without debugging, press Ctrl+F5.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CH5 - Code for DateTime Tester Application? alwayssummer BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 4 December 16th, 2010 12:11 PM
3 days prior datetime from current datetime bsridharg XSLT 2 June 11th, 2010 11:26 PM
How do I compare a datetime to current datetime and find the one closest to it? Anders XSLT 17 March 15th, 2010 10:28 AM
DateTime RickP SQL Server 2000 7 December 14th, 2005 07:08 PM
UTC DateTime to Local DateTime r_ganesh76 SQL Server 2000 1 April 4th, 2005 08:21 AM



All times are GMT -4. The time now is 12:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.