how to fetch xml data in datagridview?
216106-Jan-2016
I am importing data from an xml file to my datagridview in c# .The problem is that only one row is shown in data grid view .Please give me a suitable example to fetch all records from datagridview?
Updated on 06-Jan-2016
Anupam Mishra
06-Jan-2016For displaying all rows to xml file.As you say, you are using datagridview. The suitable code is shown below from fecthing data to any xml file :
You can also used a foreach or for loop of large iteration items for fetching values of any xml file.
Output of this program is follows: