请大家帮我看看下面的问题怎么解决,总是出现拒绝访问(vs2012控制台应用程序下运行)
DataSet ds = new DataSet();
SqlDataAdapter dp = new SqlDataAdapter("select * from Persion","server=localhost;database=master;uid=ss;pwd=w123");
dp.Fill(ds, "Persion");
ds.WriteXml(@"E:\Persion.xml");
慕勒3428872
相关分类