Click here to Skip to main content
11,575,921 members (58,308 online)
Rate this: bad
good
Please Sign up or sign in to vote.
Dear Coders,

I would like to have some help regarding the following actions:

1) Export Data from Visual Studio to Text file.
2) Export Data from Visual Studio to Excel Sheet.
3) Import Data to Visual Studio From Text File.
4) Import Data to Visual Studio From Excel File.

I surely need help regarding this...
Posted 23-Oct-12 3:08am
Comments
joshrduncan2012 at 23-Oct-12 9:09am
   
What attempts have you made in regards to accomplishing this task so far?
armarzook at 23-Oct-12 9:19am
   
I really have no idea regarding this and I am a novice to visual studio and SQL server.. I really need help...
joshrduncan2012 at 23-Oct-12 9:26am
   
We will not do the work for you. This forum is designed to assist with issues in existing code that are preventing a task from being successfully completed. I strongly urge studying Visual Studio (2010/2012) and SQL Server and how to import/export to and from Excel. Have you tried researching material on google/bing before asking this question?
armarzook at 23-Oct-12 9:34am
   
Doing researching for the past one week but till now only got to know how to export and import Data from SQL server directly... still didn't get a clue for that In visual studio...
OriginalGriff at 24-Oct-12 6:24am
   
You need to improve your question!
Change the tags: the basic thrust of your problem has nothing to do with SQL, or reporting - it is to do with writing code to save information. As such, we need to know what language you are trying to work in - VB? C#? C++? ... - (so we don't confuse you by giving you a solution in the wrong language) and also what you have tried so we don't talk you through what you have done already.

How you save data depends on a lot of factors: what kind of data it is is a major one of them!
Use the "Improve question" widget to edit your question and provide better information.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

I believe a book on .NET programming will cover the basics as there is not a quick answer. I assume you are reading from a SQL Server and what to input/output from/to the file types listed. When looking for a book look for input / output or IO chapters.
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 350
1 Dave Kreskowiak 160
2 F-ES Sitecore 145
3 OriginalGriff 125
4 Abhinav S 98
0 OriginalGriff 705
1 Sergey Alexandrovich Kryukov 600
2 Abhinav S 438
3 F-ES Sitecore 410
4 Suvendu Shekhar Giri 365


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 22 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100