示例#1
0
        private void creatTablebtn_Click(object sender, EventArgs e)
        {
            var createQuery = tManager.CreateQuery(TableNametxt.Text);

            try
            {
                connection.ExecuteCommand(createQuery, new string[] { });
            }
            catch (SqlException error)
            {
                MessageBox.Show(error.Message);
                return;
            }

            MessageBox.Show("Query Executed Correctly!");
        }