Click here to Skip to main content
15,883,623 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

Is it possible to read the dataset values into csv format?
Also is it possible to insert,update,delete operations in the dataset values.
The dataset values is extracted from xml.
How it can be done?
Posted
Updated 16-Mar-11 19:38pm
v2
Comments
Patrick Kalkman 17-Mar-11 1:43am    
Hi sridharan,

I do not understand your question.

Step 1. You fill a dataset from an XML file?
Step 2. You want to save the contents of the dataset into a CSV file?

Is this want you want to do?

1 solution

Believe me I got the solutions within 2 mins in Google.

OP wrote:
The dataset values is extracted from xml.
How it can be done?

How To Read XML Data into a DataSet by Using Visual C# .NET[^]
OP wrote:
Is it possible to read the dataset values into csv format?

Just iterate the dataset values & write a file.
Exporting Dataset as CSV[^]
OP wrote:
Also is it possible to insert,update,delete operations in the dataset values.

You can use the properties of dataset.
using dataset insert,update,delete,select[^]

Cheers.
 
Share this answer
 
Comments
sridharan28 17-Mar-11 4:44am    
hai.It's nice but during insert,update,delete I got error

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900