Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 10th, 2013, 09:37 AM
Authorized User
 
Join Date: Sep 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default SQL error

Hi, don't worry about the SQL Error issue. I got it resolve(so I think) by removing an extra <dbProviderFactories> tag in the Machine.config file as was suggested in the previos thread.

About the other issue. Below ids the code I got from your book in Charper 10 page 345. I wanted to know where this is code whether in the user Control ContactForm.ascx or the Basepage. I was not able to locate this piece of code in the downloaded source.

Protected Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick
label1.text = System.datetime.now.Tostring()
End Sub
 
Old May 10th, 2013, 09:58 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

The code is not part of the application; it's just an example of how you could use it. You can add it to a page, a user control or a master page, as long as there's corresponding Label control (and an UpdatePanel for a smooth experience) in the markup.

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL server mapping User issue Sheraz Khan SQL Server 2008 1 May 27th, 2010 08:41 AM
SQL Server 2005 Connictivity Issue Rambo SQL Server 2005 4 October 3rd, 2009 07:30 AM
SQL Server 2000 connectivity issue avixorld ASP.NET 2.0 Professional 8 July 25th, 2007 09:17 AM
SQL Server Mobile 5 issue in VS.NET rodmcleay Visual Studio 2005 0 July 10th, 2006 11:49 PM
Usizing issue Access to SQL Server gvcooper Pro VB 6 0 April 30th, 2006 05:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.