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