if (VI())
            {
                string sql = string.Format("SELECT * FROM userx WHERE name='{0}' AND pwd='{1}' AND utype='{2}'", textBox1.Text, textBox2.Text,comboBox1.Text);
                SqlCommand mycom = new SqlCommand(sql, conx.con);
                conx.con.Open();
                SqlDataReader mdr = mycom.ExecuteReader();
                if (mdr.HasRows)
                {
                    uxhp.lid = textBox1.Text;
                    uxhp.ltype = comboBox1.Text;
                    glxt a = new glxt();
                    a.Show();
                    this.Visible = false;
                    conx.con.Close();
                }
                else
                {
                    MessageBox.Show("错误!请检查!", "输入提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    conx.con.Close();
                }