how to get database records from mssql into excel sheet using vb.net.
hi,
how to get database records from mssql into excel sheet using vb.net.
if i click on button and open the excel sheet enter the data and the data is stored in database in the form of records...
mohankumar554
Junior Poster in Training
55 posts since May 2009
Reputation Points: 7
Solved Threads: 0
Here are some steps:
1. Open Excel document using MS-Office API.
2. Open MySql Database connection.
3. Read one after one cell and form a record.
4. Prepare a command object.
5. Execute the query.
6. Go to step 2 till excel sheet has data.
If you are having source code of the same problem, please post your code here and also tell us about your progress.
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241