摘要: 有一段xml格式的文档如下:<xml version=1.0><books> <book id="1" title="XML Programming" /> <book id="2" title="CLR via C#" /> <book id="3" title="Programming Asp.net 3.5" /></book... 阅读全文
posted @ 2009-04-28 12:21 Devid 阅读(1496) 评论(0) 推荐(0) 编辑
摘要: How to ceate typed xml in Sql server.1. Create xml schema information in the SQL Server.create xml schema collection DepartmentSchema as'<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">&l... 阅读全文
posted @ 2009-04-23 20:49 Devid 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 在普通sql语句后面加上;async=true.There are four common ways to use BeginXXX and EndXXX to make asynchronous calls. In all cases, youinvoke BeginXXX to initiate the call. After that, you can do one of the follo... 阅读全文
posted @ 2009-04-21 20:32 Devid 阅读(1023) 评论(2) 推荐(0) 编辑
摘要: 1. Fill a DataSet with data from the database2. Save the schema with DataSet.WriteXmlSchema()3. Use the schema as input into XSD.exexsd /DataSet /language:CS C:\Data\Products.xsd 阅读全文
posted @ 2009-04-21 19:26 Devid 阅读(162) 评论(0) 推荐(0) 编辑