摘要: private void Delete_Click(object sender, EventArgs e) {SqlConnection conn = new SqlConnection("数据库连接串");conn.Open();SqlDataAdapter daAuthors = new SqlDataAdapter("Select * From student", conn); DataSet dsPubs = new DataSet("Pubs");daAuthors.FillSchema(dsPubs, SchemaType 阅读全文
posted @ 2011-04-10 16:25 勇气 阅读(12286) 评论(2) 推荐(1) 编辑
摘要: web.config connectionStrings 数据库连接字符串的解释(转载) 先来看一下默认的连接SQL Server数据库配置<connectionStrings> <add name="LocalSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="Sy 阅读全文
posted @ 2011-04-10 12:03 勇气 阅读(494) 评论(0) 推荐(1) 编辑