If you create a blank web application in Visual Studio, you can drag and
drop some textbox controls and a button control onto the form.
Then, double-click on the button to be taken to the OnClick event for the
button.
Then you can add code such as the following to the event (modified
accordingly to whatever you named your textboxes:
TextBox2.Text = "Your Message"
HTH,
Chris
--------------------
[quoted text, click to view] >From: "Apostolis K." <apostolis80kk@hotmail.com>
>Subject: Problem
>Date: Mon, 29 Mar 2004 23:53:40 +0300
>Lines: 23
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <usCcWAdFEHA.576@TK2MSFTNGP11.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 212.205.247.39
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:222089
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Hallo All
>
>I am new to ASP.NET and I am learning it followed by a book that doesn't
>help me a lot.
>
>My first exersize is to make an ASP.NET page in which the user will enter a
>username and a password. When the submit button is pressed, a message will
>appear in a second text box to verify if the username and password is
>correct or not.
>
>It looks prety simple, however i couldn't manage it. I would very
appreciate
>it if someone could post the code here.
>
>Apostolis
>
>
>PS. I use VBScript.NET for building ASP.NET Pages.
>
>--
>Apostolis K.
>(remove double k from the address)
>
>
>