|
-
January 7th, 2010, 06:57 AM
#1
Sample loop code for reading from MySQL, writing to Excel
Hi Everybody,
I am writing a simple program which connect MySQL reads each line of a table content and writing to an Excel file line by line. I want the procedure start onClick of a start button. I am quite new to c# and NOT good with the classes etc.
I need a sample code telling how to create a loop starting from the beginning of MySQL table to the last record and in the loop writes the content of the fields to the Excel file.
Please do not send a part of a code as I am a rookie and don't understand the half written examples.
Regards
telmessos
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|