05web.NET

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2006年4月26日

摘要: private void Button1_Click(object sender, System.EventArgs e) { DataSet ds = new DataSet(); string filepath = Server.MapPath("test.xml"); ds.ReadXml(fil... 阅读全文
posted @ 2006-04-26 09:32 05web.NET 阅读(226) 评论(0) 推荐(0) 编辑

摘要: //从数据库生成DataSet public DataSet CreateDataSet() { //创建到Sql server数据库的连接 SqlConnection conn = new SqlConnection("server=.;database=test;uid=sa;pwd=sa"); Sq... 阅读全文
posted @ 2006-04-26 09:22 05web.NET 阅读(1018) 评论(1) 推荐(1) 编辑