摘要: 最近做一个项目时,由于数据库数据量较大,查询很耗时,无法查询,老是超时~~ 注意红色部分 connection.Open(); SqlDataAdapter command = new SqlDataAdapter(SQLString, connection); command.SelectCommand.CommandTimeout = 500; command.Fill(ds, "ds... 阅读全文
posted @ 2011-05-13 09:58 dtlcq 阅读(946) 评论(1) 推荐(0) 编辑