欢迎王先生或王女士 用vb怎么编写

来源:百度知道 编辑:UC知道 时间:2024/06/06 12:15:49
用vb编写顾客反馈信息的界面

if request.from("sex")="男" then
str="欢迎"&mid(request.from("name"),1,1)&"先生"
response.write"<marquee align="center" direction="left">"&str&"</marquee>"
else
str="欢迎"&mid(request.from("name"),1,1)&"女士"
response.write"<marquee align="center" direction="left">"&str&"</marquee>"

Private Sub Command1_Click()
If Text1.Text = "admin" And Text2.Text <> "123" Then
Timer1.Enabled = True
Label3.Caption = "欢迎您" & Text1.Text & "先生"
Label3.Visible = True
End If
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Form_Load()
Form1.Caption = "登陆界面"
Frame1.Caption = "请输入登陆账户和密码:"
XP_ProgressBar1.Min = 0
XP_ProgressBar1.Max = 100
Label3.Captio