About Dragan Jovanoski Expertise Programming Windows Forms, ASP.NET, GDI+ (C#), OOP (C++ and C#), Structural Programming (C++ and C#)
Experience 10 years experience in C/C++/C#, programming ASP.NET and Windows Applications
Organizations EMITER, Correspondent for Computer Science Column (Microsoft and HP analyst, Artificial Intelligence, C/C++/C# Programming), Member of IAENG and CSTA
Publications EMITER, Science and Technology Magazine
Education/Credentials MSc. in Internet Programming,
BSc. in Computer Science
Expert: Dragan Jovanoski Date: 3/20/2008 Subject: creating a text file which should contain data in a tabular format
Question how do i create a text file with data from the database Table.
i am having a data from the Table in the DataSet, now how do i pass this to text file in the same format.
i don't want to the data to be stored in XML format.
example: data in the text file should be stored in the below format.
Name Age City Zipcode
Joy 22 SA 2345
Kelly 19 LA 1234
DP 25 WL 9999
Could you please let me know how to proceed.
Thank you.
Answer Hi Durga Prasad,
You should consider using the FileStream methods as one possibility.
Here is one good reference that I consider is useful: