Click here to Skip to main content
15,911,707 members
Home / Discussions / C#
   

C#

 
GeneralRe: Object Reference Required Pin
Heath Stewart9-Apr-04 4:09
protectorHeath Stewart9-Apr-04 4:09 
GeneralRe: Object Reference Required Pin
thewebmonster9-Apr-04 4:13
thewebmonster9-Apr-04 4:13 
GeneralRe: Object Reference Required Pin
Michael P Butler9-Apr-04 1:08
Michael P Butler9-Apr-04 1:08 
GeneralRe: Object Reference Required Pin
thewebmonster9-Apr-04 1:21
thewebmonster9-Apr-04 1:21 
GeneralCLients Communication Pin
8-Apr-04 23:08
suss8-Apr-04 23:08 
GeneralRe: CLients Communication Pin
Colin Angus Mackay9-Apr-04 0:38
Colin Angus Mackay9-Apr-04 0:38 
QuestionHow to Import Data from text file to SQL Server Pin
DucLinh8-Apr-04 22:53
DucLinh8-Apr-04 22:53 
GeneralRe: Import data into SQL Server from file text Pin
Michael P Butler8-Apr-04 22:29
Michael P Butler8-Apr-04 22:29 
quocbao wrote:
I don't know import data into Sql server from file text, when user give a file text.

Your question is a little vague as you don't define the contents of the text-file.

Do you want to do this programmatically?

You could use the DTS wizard that comes with SQL Server (Import and Export Data) as this app will pretty much do the job for you.

If you want to interact with the DTS via C# then have a read of HOW TO: Create a Data Transformation Services Custom Task by Using Visual C# .NET[^]

Alternatively, you could read the text file, parse the contents and then squirt the data into SQL using ADO.NET.





Michael

But you know when the truth is told,
That you can get what you want or you can just get old,
Your're going to kick off before you even get halfway through.
When will you realise... Vienna waits for you?
- "The Stranger," Billy Joel
GeneralMS Messsage Queue Pin
Login GoodSites8-Apr-04 19:38
Login GoodSites8-Apr-04 19:38 
GeneralRe: MS Messsage Queue Pin
Mazdak9-Apr-04 1:56
Mazdak9-Apr-04 1:56 
General.exe but no .dll Pin
Anonymous8-Apr-04 16:59
Anonymous8-Apr-04 16:59 
GeneralRe: .exe but no .dll Pin
Dave Kreskowiak8-Apr-04 17:31
mveDave Kreskowiak8-Apr-04 17:31 
GeneralRe: .exe but no .dll Pin
leppie9-Apr-04 6:59
leppie9-Apr-04 6:59 
GeneralChecking an objects inheritance Pin
cnurse8-Apr-04 15:25
cnurse8-Apr-04 15:25 
GeneralRe: Checking an objects inheritance Pin
jqd20018-Apr-04 18:32
jqd20018-Apr-04 18:32 
GeneralRe: Checking an objects inheritance Pin
Heath Stewart9-Apr-04 4:40
protectorHeath Stewart9-Apr-04 4:40 
GeneralInheriting attributes Pin
cnurse8-Apr-04 15:18
cnurse8-Apr-04 15:18 
GeneralRe: Inheriting attributes Pin
Heath Stewart9-Apr-04 4:33
protectorHeath Stewart9-Apr-04 4:33 
GeneralC# - Self documenting code Pin
cnurse8-Apr-04 15:13
cnurse8-Apr-04 15:13 
GeneralRe: C# - Self documenting code Pin
Heath Stewart9-Apr-04 4:27
protectorHeath Stewart9-Apr-04 4:27 
GeneralRunning Hello World examples, but MessageBoxIcon Enumeration[s] don't provide unique icons. Pin
Bupkus8-Apr-04 13:31
Bupkus8-Apr-04 13:31 
GeneralRe: Running Hello World examples, but MessageBoxIcon Enumeration[s] don't provide unique icons. Pin
Colin Angus Mackay8-Apr-04 14:12
Colin Angus Mackay8-Apr-04 14:12 
GeneralRe: Running Hello World examples, but MessageBoxIcon Enumeration[s] don't provide unique icons. Pin
Heath Stewart9-Apr-04 4:22
protectorHeath Stewart9-Apr-04 4:22 
GeneralCLients Communication without server Pin
Member 7326718-Apr-04 13:18
Member 7326718-Apr-04 13:18 
GeneralRe: CLients Communication without server Pin
Colin Angus Mackay8-Apr-04 14:20
Colin Angus Mackay8-Apr-04 14:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.