Пример #1
0
        private void LoadGrid()
        {
            try
            {
                conn = connection.DbConnection();

                persist.CreateTable(conn);

                DataTable data = persist.GetVoos(conn);

                dtVoo.DataSource = data;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }