Beispiel #1
0
        public FrmChangePass()
        {
            InitializeComponent();
            BL.cls_login log = new BL.cls_login();

            DataTable dt = log.Login("admin", "hahah");

            txtID.Text          = dt.Rows[0][0].ToString();
            txtUserName.Text    = dt.Rows[0][1].ToString();
            txtOldPassword.Text = dt.Rows[0][2].ToString();
        }