Esempio n. 1
0
        private void btnThem_Click(object sender, EventArgs e)
        {
            ConnectToSQL sql = new ConnectToSQL();

            try
            {
                sql.open();
                label1.Text = "Success";
            }
            catch (Exception ex)
            {
                label1.Text = ex.Message;
            }
        }