当前位置:编程学习 > C#/ASP.NET >>

问下XSD文件怎么用,,,着急,,,,在线等!!!!明天结贴

我的程序里面  每个xxxDB.cs文件  对应一个  xxxDataSet.xsd文件

每个xxxDataSet.xsd文件里面包含
xxxDataSet.cs
xxxDataSet.Designer.cs
xxxDataSet.xsc
xxxDataSet.xss


请问这个结构怎么用的?   这些文件都是干什么用的??????????


有没有资料可以学习啊??????????????????? --------------------编程问答-------------------- 就是Named Dataset了。

可以如此创建

1. In the Solution Explorer, right-click the project name that is in bold type, point to Add, and then click Add New Item.
2.  In the Add New Item dialog box, in the Templates list, do the following:
 * For a Windows project, select DataSet.
 * For a Web Site, select XML Schema.
3. In the Name field, enter CustomerDataSetSchema.xsd, and then click Add.
4. From the Server Explorer, drag the Customer table (located under the node ACCESS>Tables>Customer) onto the CustomerDataSetSchema.xsd window.
5. From the Build menu, click Build Solution.

vs来维护,一般不用关心。

--------------------编程问答-------------------- 就是Named Dataset了。

可以如此创建

1. In the Solution Explorer, right-click the project name that is in bold type, point to Add, and then click Add New Item.
2.  In the Add New Item dialog box, in the Templates list, do the following:
 * For a Windows project, select DataSet.
 * For a Web Site, select XML Schema.
3. In the Name field, enter CustomerDataSetSchema.xsd, and then click Add.
4. From the Server Explorer, drag the Customer table (located under the node ACCESS>Tables>Customer) onto the CustomerDataSetSchema.xsd window.
5. From the Build menu, click Build Solution.

vs来维护,一般不用关心。
--------------------编程问答-------------------- 参考msdn的文章:

http://msdn.microsoft.com/en-us/library/aa728893(v=vs.71).aspx
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,