If dt.Rows.Count > 0 Then
If dt.Rows(0)("Status").ToString.ToLower.Equals("vip") Then
MsgBox("ดี vip")
Form3.Show()
Me.Hide()
Else
MsgBox("ดี member")
Form2.Show()
Me.Hide()
End If
If dt.Rows.Count > 0 Then
If dt.Rows(0)("Status").ToString.ToLower.Equals("vip") Then
MsgBox("ดี vip")
Form3.Show()
Me.Hide()
Else
If dt.Rows(0)("Status").ToString.ToLower.Equals("admin") Then
MsgBox("ดี admin")
Form3.Show()
Me.Hide()
Else
MsgBox("ดี member")
Form2.Show()
Me.Hide()
End If
End If
End If