Difference between revisions of "DD Class2"

esse quam videri
Jump to: navigation, search
(Review of web forms)
Line 5: Line 5:
 
==Review of web forms==
 
==Review of web forms==
  
HTML forms
+
===HTML forms===
  
Web forms
+
'''Input Types'''
 +
:Input type from w3c http://www.w3.org/TR/html4/interact/forms.html#h-17.4
  
POST and GET
+
Text
 +
:creates a text entry box
 +
<input type="Text" id="txtText1" />
 +
<html>
 +
<input type="Text" id="txtText1" />
 +
</html>
 +
 
 +
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" />
 +
<html>
 +
<input type="Password" id="passwd1" />
 +
</html>
 +
 
 +
 
 +
CheckBox
 +
:creates checkboxes
 +
<input type="Checkbox" id ="chkbxTest1" name="chkbxTest1" />
 +
<input type="Checkbox" id ="chkbxTest2" name="chkbxTest2" />
 +
<html>
 +
<input type="Checkbox" id ="chkbxTest1" name="chkbxTest" />
 +
<input type="Checkbox" id ="chkbxTest2" name="chkbxTest" />
 +
</html>
 +
 
 +
'''GET and POST'''
 +
 
 +
Html get
 +
 
 +
http://iam.colum.edu/DD/classsource/class2/simpleGet.html [http://iam.colum.edu/DD/gbrowser.php?file=/classsource/class2/simpleGet.html - source]
 +
[http://iam.colum.edu/DD/gbrowser.php?file=/classsource/class2/simpleGet.aspx simpleGet.aspx - source]
 +
 
 +
 
 +
 
 +
http://iam.colum.edu/DD/classsource/class2/simplePost.html [http://iam.colum.edu/DD/gbrowser.php?file=/classsource/class2/simplePost.html - source] [http://iam.colum.edu/DD/gbrowser.php?file=/classsource/class2/simplePost.aspx simplePost.aspx - source]
 +
 
 +
'''Web forms'''
 +
 
 +
PostBack
  
 
==Homework==
 
==Homework==

Revision as of 02:25, 29 January 2007


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