p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > BOOK: Beginning ASP.NET 1.0
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 11th, 2005, 12:49 PM
Registered User
Points: 4, Level: 1
Points: 4, Level: 1 Points: 4, Level: 1 Points: 4, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2005
Location: , , .
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!



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old October 23rd, 2005, 01:06 PM
Registered User
 
Join Date: Jul 2005
Location: doha, , Qatar.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
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
</script>
<html>
<head><title>Calling Software</title></head>
<body>
<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" />
</form>
</body>
</html>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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 09: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 11:45 PM



All times are GMT -4. The time now is 05:24 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc