8
Answers

How to bind xml to datagrid

Vahid Bakhtiary

Vahid Bakhtiary

12y
3.3k
1
hi
i have a string from xml below like :
string str= @" <QueryList xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""
xmlns:xsd=""http://www.w3.org/2001/XMLSchema"">
<ID>divid1</ID>
<ID>divid2</ID>
</QueryList>";

i want bind it to datagrid
please help me how to it do ?
 thanks

Answers (8)