Пример #1
0
        private void fbtnnew_Click(object sender, EventArgs e)
        {
            fixedform ff = new fixedform();

            ff.Show();
            con.Open();
            SqlCommand     cd    = new SqlCommand("SELECT TOP 1 RIGHT(AccountNo,1)+2  From fixedform order by 1 desc", con);
            SqlDataAdapter da    = new SqlDataAdapter(cd);
            object         VALUE = cd.ExecuteScalar();

            VALUE       = "accno:" + VALUE;
            faccno.Text = VALUE.ToString();
        }
Пример #2
0
        private void viewMenu_Click(object sender, EventArgs e)
        {
            fixedform ff = new fixedform();

            ff.Show();
        }