如何将xml格式化为gridview [英] How to impoart a xml to gridview
本文介绍了如何将xml格式化为gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将xml导入网格,如果内部节点有更多的值,则添加下拉列表,如果它有一个绑定字段
EXP
< customerinfo>
< name> Vithal Wadje
<地址> #lskdfj孟买
< city>
大,中等
需要下拉城市
解决方案
这是一篇文章:
< a href =http://www.c-sharpcorner.com/UploadFile/mahesh/load-xml-file-into-a-datagridview-using-C-Sharp/> http://www.c-sharpcorner。 com / UploadFile / mahesh / load-xml-file-into-a-datagridview-using-C-Sharp / [ ^ ]
检查下方链接。它可以帮到你。
http://www.c-sharpcorner.com/Blogs/7892/export-gridview-to-xml.aspx
import a xml to grid and if inner node have more valuels then add dropdown and if it has one the bound field
EXP
<customerinfo>
<name>Vithal Wadje
<city>
Large, Medium
need dropdown city
解决方案
Here is an article :
http://www.c-sharpcorner.com/UploadFile/mahesh/load-xml-file-into-a-datagridview-using-C-Sharp/[^]
Check Below links. it may help you.
http://www.c-sharpcorner.com/Blogs/7892/export-gridview-to-xml.aspx
这篇关于如何将xml格式化为gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文