Exemple #1
0
        public DatabaseEditor()
        {
            InitializeComponent();
            ModListSqlHelper modListSqlHelper = new ModListSqlHelper();

            data.DataSource = modListSqlHelper.GetTableInfoForEditing();
            if (data.Columns["ID"] != null)
            {
                data.Columns["ID"].Visible = false;
            }
        }
Exemple #2
0
        private void Save_Click(object sender, EventArgs e)
        {
            ModListSqlHelper modListSqlHelper = new ModListSqlHelper();

            modListSqlHelper.SetTableInfoAfterEditing(data.DataSource as DataTable);
        }