Designänderung am Code
This commit is contained in:
@@ -5,7 +5,9 @@ Partial Class login_FLEX
|
||||
Inherits System.Web.UI.Page
|
||||
|
||||
Protected Sub Page_Load(sender As Object, e As EventArgs)
|
||||
|
||||
If Page.IsPostBack Then
|
||||
MsgBox("Debug")
|
||||
End If
|
||||
End Sub
|
||||
Protected Sub ValidateUser(sender As Object, e As EventArgs)
|
||||
Dim userId As Integer = 0
|
||||
@@ -61,8 +63,19 @@ Partial Class login_FLEX
|
||||
|
||||
Protected Sub LoginButton_Click(sender As Object, e As EventArgs)
|
||||
Validate("Login")
|
||||
If Page.IsValid() Then
|
||||
Response.Redirect("../Customers/CustomsAviso.aspx")
|
||||
Else
|
||||
Response.Redirect("login_FLEX.aspx")
|
||||
End If
|
||||
|
||||
End Sub
|
||||
Protected Sub LoginButton_M_Click(sender As Object, e As EventArgs)
|
||||
Validate("Login_M")
|
||||
If Page.IsValid() Then
|
||||
Response.Redirect("../Customers/CustomsAviso.aspx")
|
||||
Else
|
||||
Response.Redirect("login_FLEX.aspx")
|
||||
End If
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Reference in New Issue
Block a user