2007年11月14日
摘要: 一.用SqlConnection连接SQL Server 1..加入命名空间 using System.Data.SqlClient; 2.连接数据库 SqlConnection myConnection = new SqlConnection(); myConnection.ConnectionString = "user id=sa;password=sinofindb;initial ... 阅读全文
posted @ 2007-11-14 21:17 Olay2008 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 发现了比较好的代码,粘贴出来以便大家来使用 using System; using System.Collections; using System.Collections.Specialized; using System.Runtime.Remoting.Messaging; using System.Data; using System.Data.SqlClient; using Syst... 阅读全文
posted @ 2007-11-14 20:28 Olay2008 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 解决:编译器错误信息: 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... 阅读全文
posted @ 2007-11-14 16:30 Olay2008 阅读(2878) 评论(2) 推荐(0) 编辑