摘要: 一.用SqlConnection连接SQL Server 1..加入命名空间 using System.Data.SqlClient; 2.连接数据库 SqlConnection myConnection = new SqlConnection();myConnection.ConnectionString = "user id=sa;password=sinofindb;initial cata... 阅读全文
posted @ 2006-12-05 17:14 冷火 阅读(279) 评论(0) 推荐(0) 编辑