Dim objsmem As New BussinesLog.Login If TxtPosmem.Text = "Application_Admin" Then If TxtUser_mem.Text = objsmem.User_nameM And TxtPassmem.Text = objsmem.Passwords Then LitMessage.Text = ("This User_name or password already exists") ElseIf TxtUser_mem.Text <> objsmem.User_nameM And TxtPassmem.Text <> objsmem.Passwords Then objsmem.User_nameM = TxtUser_mem.Text objsmem.Function_id = 1 objsmem.Passwords = TxtPassmem.Text objsmem.Question = DropDownList2.SelectedValue objsmem.Answer = TxtAnsmem.Text objsmem.Position = TxtPosmem.Text objsmem.Save_Mem_Account() MsgBox("Hope it works", MsgBoxStyle.Information, "SAVING>>>>>") End If End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)