现在存盘速度这么快,搞这个好象没有必要。
Dim p As WinForm.ProgressBarp = e.Form.Controls("ProgressBar1")p.Maximum = DataTables.Count '设置最大值p.Minimum = 0 '设置最小值Dim i As IntegerFor Each dt As datatable In DataTables dt.Save() i = i + 1 p.Value = i '设置当前值Next