求asp.net连接Sql Server2000数据连接池完整代码

来源:百度知道 编辑:UC知道 时间:2024/06/18 05:35:43
asp.net 连接Sql Server 2000数据库数据连接池的完整代码

sqlconnection sqlcon=new sqlconnection("server=.;user id=sa;pwd=sa;database=yourdatabase");
SqlDataAdapter sda = new SqlDataAdapter("select * from yourtalbe", sqlcon);
DataSet dsUserAndPWD = new DataSet();
sda.Fill(dsUserAndPWD);
你要是这个吗?
不懂你的连接池是什么个什么样的东东了。