DD Class2

esse quam videri
Revision as of 20:45, 29 January 2007 by Jeff (talk | contribs) (HTML forms)
Jump to: navigation, search


Web Forms

Review of web forms

HTML forms

Input Types

Input type from w3c http://www.w3.org/TR/html4/interact/forms.html#h-17.4

Text

creates a text entry box

<input type="Text" id="txtText1" />

Password

same as text but hides characters 'note the password is not hashed or encrypted when is it is sent to the web server; it is only masked in the web browser'

<input type="Password" id="passwd1" />


CheckBox

creates checkboxes

<input type="Checkbox" id ="chkbxTest1" name="chkbxTest1" /> <input type="Checkbox" id ="chkbxTest2" name="chkbxTest2" />


GET and POST

Html get

http://iam.colum.edu/DD/classsource/class2/simpleGet.html - source simpleGet.aspx - source


http://iam.colum.edu/DD/classsource/class2/simplePost.html - source simplePost.aspx - source

Web forms

PostBack

Homework

Read Intro and Chapter 1 in Beginning ASP.NET 2.0 Databases (BAD)

Build registration form for cheese conference in html and then build form in aspx

Install Microsoft SQL Management Studio