毕业论文

打赏
当前位置: 毕业论文 > 计算机论文 >

ASP.NET客户信息管理系统的开发(12)

时间:2016-11-27 21:00来源:毕业论文
} else if (textBox1.TextLength 6 || textBox2.TextLength 6 || textBox3.TextLength 6) { MessageBox.Show(账号或密码长度过短,请重新输入); return; } else if(textBox2.Text!=textBox3.Text) { Me


            }
            else
                if (textBox1.TextLength < 6 || textBox2.TextLength < 6 || textBox3.TextLength < 6)
            {
                MessageBox.Show("账号或密码长度过短,请重新输入");
                return;
            }
            else
            if(textBox2.Text!=textBox3.Text)
            {
                MessageBox.Show("两次输入的密码不一致,请重新输入");
                return;
            }
            else
                if (Convert.ToDouble(textBox5.Text) != 1 && Convert.ToDouble(textBox5.Text) != 2 && Convert.ToDouble(textBox5.Text) != 3 && Convert.ToDouble(textBox5.Text) != 4 && Convert.ToDouble(textBox5.Text) != 5 && Convert.ToDouble(textBox5.Text) != 6 && Convert.ToDouble(textBox5.Text) != 7 && Convert.ToDouble(textBox5.Text) != 0)
                {
                    MessageBox.Show("负责区域填写错误,请重新输入");
                    return;
                }
                    if (Convert.ToDouble(textBox4.Text)!=1&&Convert.ToDouble(textBox4.Text)!=0)
                    {
                        MessageBox.Show("权限填写错误,请重新输入");
                            return;
                    }
                else
                {
                    sqlConnect();
                        string sq4="select userid from usertable where userid='"+textBox1.Text+"'";
                    SqlCommand cmd1 = new SqlCommand(sq4, conn);
                    if (cmd1.ExecuteScalar() == null) ASP.NET客户信息管理系统的开发(12):http://www.youerw.com/jisuanji/lunwen_460.html
------分隔线----------------------------
推荐内容