怎么在ACCESS中插入大量数据?
foreach (string oldUrl in this.oldUrls)
{
if (urlAndLinks.ContainsKey(oldUrl))
urlAndLinks.Remove(oldUrl);
}
int totalIn = 0;
foreach (DictionaryEntry ide in this.urlAndLinks)
{
cmd.Parameters["_newTitle"].Value = ide.Value;
cmd.Parameters["_newURL"].Value = ide.Key;
cmd.ExecuteNonQuery();
totalIn++;
}
MessageBox.Show(totalIn.ToString() + " has been Insert into the database");
感觉等了N年了,还没有插入完数据..
foreach (string oldUrl in this.oldUrls)
{
if (urlAndLinks.ContainsKey(oldUrl))
urlAndLinks.Remove(oldUrl);
}
int totalIn = 0;
foreach (DictionaryEntry ide in this.urlAndLinks)
{
cmd.Parameters["_newTitle"].Value = ide.Value;
cmd.Parameters["_newURL"].Value = ide.Key;
cmd.ExecuteNonQuery();
totalIn++;
}
MessageBox.Show(totalIn.ToString() + " has been Insert into the database");
感觉等了N年了,还没有插入完数据..
解决方案 »
- 深度内存整理问题,求代码!
- 多窗口的交互怎么能实现?(C/S) 应用程序
- 在VS2005环境下 生成网站(编译) 时 报 数据错误(循环冗余检查)
- C# winform 重新登录功能
- 如果我想让我的代码也可以像ListBox1.Items[1] = strItem;这样写,怎么做啊
- .net到底怎么用阿?哪位大虾回答我几个问题?
- 初级:运行csc d:\cc\list.cs出错,显示,未定义入口。
- c#安装和部署中如何加载.net framework
- SaveFileDialog 使用时出现尝试读取或写入受保护的内存错误
- c#有没有类似vb中left函数的函数啊?
- 俺笨笨,来问两个用DataAdapter更新DataSet的问题
- 请问C#如何输出给定编码方式的字符串
请问下 forestwind(森林之风)..批处理SQL是个什么东东...给点资料咯.谢谢!
我也只是听说,没试验过,你可以试一试
期待高手赐招!!!!