Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SYNOPSIS
2. INTRODUCTION
3. SYSTEM DESIGN
3.1 Hardware Requirements
3.2 Software Requirements
4. ABOUT THE SOFTWARE
4.1 ASP.NET
•
•
•
•
•
•
•
•
•
•
PERFORMANCE
ASP.NET compared to ASP Classic
•
•
•
•
•
•
•
•
•
•
Criticisms of ASP.NET
login Wizard
Development tools
•
•
•
•
•
•
•
4.2 Microsoft SQL Server
•
•
•
•
Benefits of SQL
•
•
•
•
•
•
•
5. MODULE DESCRIPTION
•
•
•
•
Signin
End If
Dim con As New SqlConnection("database=(local);initial
catalog=suresh;integrated security=true")
con.Open()
Dim cmd As New SqlCommand("select * from userlist", con)
Dim dr As SqlDataReader = cmd.ExecuteReader()
While (dr.Read())
If (TextBox1.Text = dr.Item(0)) Then
If (TextBox2.Text = dr.Item(1)) Then
Session("username") = TextBox1.Text
Response.Redirect("userscreen.aspx")
GoTo aa
Else
Label3.Text = "Incorrect Password"
End If
End If
End While
Label3.Text = "Incorrect user name"
bb:
Label3.Text = "Name/Password must not be empty"
aa:
End Sub
Signup
Try
If (RadioButtonList1.SelectedItem.Text = HiddenField1.Value) Then
Session("mark") = Session("mark") + 1
Else
Session("mark") = Session("mark") - 1
End If
If (RadioButtonList2.SelectedItem.Text = HiddenField2.Value) Then
Session("mark") = Session("mark") + 1
Else
Session("mark") = Session("mark") - 1
End If
If (RadioButtonList3.SelectedItem.Text = HiddenField3.Value) Then
Session("mark") = Session("mark") + 1
Else
Session("mark") = Session("mark") - 1
End If
If (RadioButtonList4.SelectedItem.Text = HiddenField4.Value) Then
Session("mark") = Session("mark") + 1
Else
Session("mark") = Session("mark") - 1
End If
If (RadioButtonList5.SelectedItem.Text = HiddenField5.Value) Then
Session("mark") = Session("mark") + 1
Else
Session("mark") = Session("mark") - 1
End If
Response.Redirect("Test3.aspx")
Catch
label1.text = "Please answer All Questions"
End Try
End Sub
Form Load
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Label10.Text = Session("username")
Label2.Text = Session("mark")
End Sub
WEBSITES:
•
•
•