我爱Aspx >> 数据库 >> ADO.NET最佳实践(上)custDA.Fill(custDS, "Customers");
SqlDataAdapter ordersDA = new SqlDataAdapter("SELECT * FROM Orders", nwindConn);
ordersDA.Fill(custDS, "Orders");
nwindConn.Close();
custDS.Relations.Add("CustOrders",
custDS.Tables["Customers"].Columns["CustomerID"],
custDS.Tables["Orders"].Columns["CustomerID"]).Nested = true;
XmlDataDocument xmlDoc = new XmlDataDocument(custDS);
XslTransform xslTran = new XslTransform();
xslTran.Load("transform.xsl");
XmlTextWriter writer = new XmlTextWriter("xslt_output.html", System.Text.Encoding.UTF8);
xslTran.Transform(xmlDoc, null, writer);
writer.Close();
}
}
ADO.NET最佳实践(中)
http://www.csdn.net/Develop/read_article.asp?id=22663
【我对这篇文章有话说?】
ADO.NET最佳实践(下)[05-22]
ADO.NET最佳实践(中)[05-22]
伟大的解决方案—DataWindow.Net..[05-22]
伟大的解决方案—DataWindow.Net..[05-22]
介绍Matisse--专为.NET的后关系型..[05-22]
使用ADO.NET轻松操纵数据库[05-22]
使用ADO.NET轻松操纵数据库(二)[05-22]
小议ADO.NET中的自动增量列[05-22]
DAO RDO ADO ADO.NET[05-22]
用VS.Net编写扩展存储过程(三,..[05-22]
神秘的DUAL[05-22]
基本性能调整(翻译)[05-22]
脚本中心进行自动备份[05-22]
Exchange全文检索概述[05-22]
bcp 的用法[05-22]
连接数据库时发生"一般性网..[05-22]
分区的威力(翻译)[05-22]
从SQL中的一个表中导出HTML文件表..[05-22]
从不sequential的sequence[05-22]
有效发挥数据库的最大效率[05-22]