Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > BOOK: Beginning ASP.NET 1.0
BOOK: Beginning ASP.NET 1.0
This is the forum to discuss the Wrox book Beginning ASP.NET 1.0 with C# by Chris Goode, John Kauffman, Christopher L. Miller, Neil Raybould, S. Srinivasa Sivakumar, Dave Sussman, Ollie Cornes, Rob Birdwell, Matt Butler, Gary Johnson, Ajoy Krishnamoorthy, Juan T. Llibre, Chris Ullman; ISBN: 9780764543708
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.0 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 February 11th, 2005, 12:49 PM
Registered User
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Exercise in Beg. asp.net for VB.net!

Beginning ASP.NET with Visual Basic.Net

Chapter 7, page 254, exercise 4. How do I do this? I understand how
to make it return info on the same page, but how do I get it to generate a new page, with a new button?

Can I get any source code for this? It is really stumping me...

Thanks for any help you can give me!

Old October 23rd, 2005, 12:06 PM
Registered User
Join Date: Jul 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

This code includes Exer4 and Exer5 together:

<script language="vb" runat="server">
Sub Connect(Sender As Object, E As EventArgs)
Select Case txtcall.Text
Case "4581245"
Message.Text = "You are calling Home...."
Case "5662653"
Message.Text = "You are calling Nasrin...."
Case "5703612"
Message.Text = "You are calling Arash...."
Case Else
Message.Text = "You are calling " & txtcall.Text & "..."
End Select
btnDisconnect.Visible = True
End Sub
Sub Disconnect(Sender As Object, E As EventArgs)
txtcall.Text = ""
Message.Text = ""
btnDisconnect.Visible = False
End Sub
<head><title>Calling Software</title></head>
<asp:label id="Message" runat="server" /><br />
<form runat="server">
<h4>Please enter the number you wish to call:</h4>
<asp:textbox id="txtcall" runat="server" /><br /><br />
<asp:Button id="btnConnect" Onclick="Connect" text="Connect" runat="server" />
<asp:Button id="btnDisconnect" text="Disconnect" Onclick="Disconnect" visible=False runat="server" />

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Converting C# to VB.NET in ASP.NET kwilliams ASP.NET 2.0 Basics 0 February 9th, 2007 06:22 PM
Beg ASP.NET 2.0 VB: Worst book from Wrox rollercoaster BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 August 31st, 2006 08:03 AM
Please see this post in Beg. VB.NET BrianWren ASP.NET 1.0 and 1.1 Basics 0 March 30th, 2005 05:24 PM
Using Visual Studio Net With Beg ASP.NET sirandre007 VB.NET 2002/2003 Basics 2 March 23rd, 2005 03:27 PM
Beg. ASP.Net eCommerce with VB.Net - Chapter 5 James Hendrix All Other Wrox Books 0 October 22nd, 2003 10:45 PM

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