Beispiel #1
0
        private void Form1_Load(object sender, System.EventArgs e)
        {
            QQloginCont.UserInf.DelFile(Application.StartupPath + "\\SerInf\\OnlineInf.dat");
            DataTable dt = UserInf.GetUserInf();

            if (dt != null)
            {
                this.comboBox1.DataSource    = dt;
                this.comboBox1.DisplayMember = "user";
                this.comboBox1.ValueMember   = "pwd";
            }
            this.textBox2.Text = "";
        }