Itz.Irshad
Itz.Irshad

Reputation: 1024

Writing XML Document by Getting Data from DataGridView

How to write XML document with specified nodes by taking data from DataGridView ? I've a DataGridView and need to wirte XML file containing that data which is further loadable in application too.

Upvotes: 0

Views: 567

Answers (2)

Ria
Ria

Reputation: 10347

You can Serialize the data of the DataGridView, look at the DataSource of the dataGridView.

Upvotes: 0

HariHaran
HariHaran

Reputation: 202

you will be having a datasource to the grid, using that datasource itself you can create the xml

Upvotes: 1

Related Questions