Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 December 18th, 2005, 08:11 PM
Authorized User
 
Join Date: Dec 2005
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default Authenication Question

We're receiving a datastream from another page and I need to know how to do away with the input on this form and draw it from the previous page. (In ASP I'd simply just do value=Request.Form("txtUserName")). How do I do this with ASP.net?

Here's the line of code:

<asp:textbox id="txtUser" value="mytextuserinput" runat="server" Width="134px"></asp:textbox>

Please help!!!
 
Old December 19th, 2005, 05:00 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Not sure what "Authentication Question" in the subject has to do with this, but if you're posting from one ASP.NET 2 page to another, you might want to take a look at PreviousPage. For a few examples, take a look here:

http://msdn.microsoft.com/msdnmag/is...ExtremeASPNET/

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to clearn http Authenication. chobo2 ASP.NET 2.0 Basics 0 October 11th, 2008 04:44 PM
What is an authenication Header? chobo2 ASP.NET 2.0 Basics 1 October 3rd, 2008 09:05 PM
deployment - error with sql server authenication ezhil BOOK: Expert SQL Server 2005 Integration Services ISBN: 978-0-470-13411-5 0 November 22nd, 2007 07:28 AM
IIS and WebDAV authenication settngs suhelahmed Internet Information Services 0 August 21st, 2006 04:46 AM





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