Dim dlg As NewOpenFileDialog'定义一个新的OpenFileDialog dlg.Filter= "Access文件|*.mdb"'设置筛选器 If dlg.ShowDialog = DialogResult.Ok Then '如果用户单击了确定按钮 Dim mg As NewMerger mg.SourcePath = dlg.FileName mg.SourceTableName = "订单" mg.DataTableName = "订单" mg.Merge() End If