Beispiel #1
0
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Forgotpass f = new Forgotpass();

            MessageBox.Show("Select Username and input to recover your password and vice-versa");
            f.Show();
            this.Hide();
        }
Beispiel #2
0
        public Home()
        {
            Forgotpass f = new Forgotpass();

            InitializeComponent();
            con.Open();
            SqlCommand    cmd = new SqlCommand("select * from Institue ", con);
            SqlDataReader da  = cmd.ExecuteReader();

            while (da.Read())
            {
                h.Text   = da.GetValue(1).ToString();
                hh.Text  = da.GetValue(2).ToString();
                hhh.Text = da.GetValue(3).ToString();
            }
            con.Close();
        }