Connecting Tech Pros Worldwide Help | Site Map

VB .Net Windows

Newbie
 
Join Date: Nov 2008
Posts: 11
#1: Mar 26 '09
Hello All,
Iam new to VB .NET.
I have an application which retrives data from few tables.
A Stored procedure is created for the same which ultimately put the data into the data grid..
Iam done which the application creation and the data is coming into the datagrid.

I want to put the data from the datagrid to excel, so that i can send the excel directly to the users.

Iam using VB .Net Windows application.

Can anybody send me a code in VB .Net Windows application where in the data from datagrid will be exported to excel file..

thanks a tonnnnnn.....
Anirudh
tlhintoq's Avatar
Moderator
 
Join Date: Mar 2008
Location: Arizona, USA
Posts: 1,745
#2: Mar 26 '09

re: VB .Net Windows


Quote:

Originally Posted by Original Poster

Can anybody send me code to [...]

The Bytes volunteers are not here to write your code for you.
Bytes is very much a "Give me a fish I eat for a day. Teach me to fish I eat for a lifetime" kind of place. Just giving you the code doesn't help you learn near as effectively as good old-fashioned trial and error.

Do a little reading up and experimenting then if your trials aren't doing what you expect, post the code and relevant messages/errors and we'll see what we can do to point you in the right direction for making it work.

Try hitting Google with terms of your programming language and primary terms of what you want to do. For example "C# custom events" or "VB datagrid Excel". I've found this to be a very effective tool.

You need to take it upon yourself to
  • First: Do some research. I heard about thing thing called Google, or books even.
  • Second: Do some experiments yourself. You will learn so much from actually trying it before throwing up your hands in defeat before even starting.
  • Third: Show the volunteers here the code that you created that was the closest to successful along with relevant errors.
Reply