private void btnGetTabelList_Click(object sender, EventArgs e) { foreach (var item in ImportAccessDb.GetTableList(AccessPicker.SelectedPathOrFileName)) { chkTable.Items.Add(item); } }
/// <summary> /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnImport_Click(object sender, EventArgs e) { var table = new List <string>(); foreach (var item in chkTable.CheckedItems) { table.Add(item.ToString()); } ImportAccessDb.ImportAccessDataBase(AccessPicker.SelectedPathOrFileName, table, MServer); }