Exemple #1
0
        private void btnSubjClass_Click(object sender, EventArgs e)
        {
            try
            {
                cn.Open();
                SqlCommand update = new SqlCommand("SubjectAnalysis", cn);
                update.CommandType    = CommandType.StoredProcedure;
                update.CommandTimeout = 300;
                update.ExecuteNonQuery();
                SubjectMean frm = new SubjectMean();
                frm.Show();
            }

            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
        }
Exemple #2
0
        private void btnSubjClass_Click(object sender, EventArgs e)
        {
            SubjectMean frm = new SubjectMean();

            frm.Show();
        }