111,129
社区成员
发帖
与我相关
我的任务
分享
ADODB.Connection cn = new ADODB.Connection();
cn.ConnectionString = connectionString;
cn.Open(connectionString, null, null, -1);
object dummy;
for (int n = 0; n < arrayList.Count; n++)
{
cn.Execute(arrayList[n].ToString(), out dummy, -1);
iMin = iMin + 1;
progressBar1.Value = Convert.ToInt32(iMin);
}
cn.Close();