易截截图软件、单文件、免安装、纯绿色、仅160KB

求助:c# 读取xml子结点 - .NET技术 / C#

<?xml version="1.0" encoding="gb2312"?>
<Base>
<DatabaseCatalog>
  <DatabaseCatalogName>基础库</DatabaseCatalogName>
  <Alias>commondb</Alias>
  <DatabaseCatalogCode>1</DatabaseCatalogCode>
  <databasecount>1</databasecount>
  <Database>
  <DatabaseName>database1</DatabaseName>
  <DatabaseCode>11</DatabaseCode>
  <Tablecount>1</Tablecount>
  <Table>
  <TableName>data</TableName>
  <TableCode>1101</TableCode>
  <Linkfield></Linkfield>  
  <TwothTableCount>1</TwothTableCount>
  <TwothTable>
  <TwothTableName>2thTable</TwothTableName>
  <TwothTableCode>110101</TwothTableCode>
  <Linkfield></Linkfield>
  </TwothTable>
  </Table>
  </Database>
</DatabaseCatalog>
</Base>

上面是xml文档。我想读取TwothTableName这个标签,该怎么办?在<Table>标签里的<Linkfield>,和 <TwothTable>标签里的<Linkfield>这两个可以用同一个标签名字嘛?
看这里,Xml常用操作:XML增删改查

http://topic


相关问答:

利用C#编写txt转化到xml的程序

txt 和XML 格式相应
不借助DataSet
导入读取TXT文件
然后直接写入XML(同一文件,不同数据,递增原数据没有被覆盖情况下增加数据.)
教个要点或最好是有个代码提示的
过路好汉 帮个忙撒^^
不会,帮楼主 ......

C/C++里屏shift+f10键要怎么写! - C/C++ / C++ 语言

SHIFT加F10与那个键右ctrl边上的那个键功能一样,想屏这个
但不知要怎么写那个组合键!
有没哪个大侠放一段这个的代码或写一段
http://topic.csdn.net/u/20090609/15/7dc9fb70-243f-4070-9cfd-34e48b66e6c6.html ......

遍历一个xml并输出指定节点的值 - .NET技术 / C#

我有一个类似的xml的 string,想通过遍历怎么个xml 输出我想要的element的值
xml 为:
<Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
  <RequestType>DISCOVER_XML_ME ......

求助:C代码改写成VB代码 - VB / 基础类

谁能帮我把下面这些代码改成VB形式的,多谢了,急用~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[],float g ......

求助:C代码change toVB代码 - VB / 基础类

挺繁琐,之前发的帖子,分值太低现在重发一个。欢迎各位大侠~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[] ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号