Groups | Blog | Home
all groups > asp.net > march 2004 >

asp.net : Problem


Apostolis K.
3/29/2004 11:53:40 PM
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)

cmoore NO[at]SPAM online.microsoft.com
4/2/2004 11:56:08 PM
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]
AddThis Social Bookmark Button