从SQL2008数据库读取XML数据

从SQL2008数据库读取XML数据

本文介绍了从SQL2008数据库读取XML数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想请你帮忙.我有一个SQL2008数据库,其中有一个带有两列的表"tblA".一个是"PID"(用于PrID),另一个是"XMlCol",其中保存了XML文档.我希望将包含XML信息的每一行都解析为一个数据网格,当我单击每个PID时,一个子窗体将显示附加到该数据网格的相对XML.你们能在VB.Net中说些什么如何实现吗?我为您的紧急答复祈祷...谢谢大家.

解决方案


Hi guys,

I wanted to ask you for your assistance. I have an SQL2008 database within which there is a table "tblA" with two columns. One is "PID" (for PrID)and the other is "XMlCol", in which XML document is saved. I wanted each row with the XML info, to parsed to a datagrid, and when i click each PID, a subform will display the relative XML attached to a datagrid. Can you guys please say something in VB.Net how this can be accomplished. I pray for your urgent reply...thank you guys.

解决方案



这篇关于从SQL2008数据库读取XML数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 23:35