telmessos 0 Newbie Poster

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