摘要:
一.用SqlConnection连接SQL Server 1..加入命名空间 using System.Data.SqlClient; 2.连接数据库 SqlConnection myConnection = new SqlConnection(); myConnection.ConnectionString = "user id=sa;password=sinofindb;initial ... 阅读全文
摘要:
发现了比较好的代码,粘贴出来以便大家来使用 using System; using System.Collections; using System.Collections.Specialized; using System.Runtime.Remoting.Messaging; using System.Data; using System.Data.SqlClient; using Syst... 阅读全文
摘要:
解决:编译器错误信息: CS0016: 未能写入输出文件“c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\listenleaks\ae3daa38\e9fdb67\0zaie9ij.dll”--“拒绝访问。 ” 一、http://support.microsoft.com/default.aspx?sci... 阅读全文