🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.lang.csharp
Article #9931

Odbc -> DataSet -> SqlClient

#9931
From: Przemek
Date: Thu, 10 Nov 2005 13:08
18 lines
1344 bytes
Mam pytanie, jak poniższego DataSet'a utworzonego OdbcDataAdapterem (z 
pliku tekstowego)

OdbcConnection fileConn = new OdbcConnection(@"[...]");
OdbcDataAdapter fileDA1 = new OdbcDataAdapter("SELECT [...]FROM 
`t1.txt`", fileConn);
OdbcDataAdapter fileDA2 = new OdbcDataAdapter("SELECT [...]FROM 
`t1.txt`", fileConn);
fileConn.Open();
DataSet fileDS = new DataSet();
fileDA1.Fill(fileDS, "Tabela_1");
fileDA2.Fill(fileDS, "Tabela_2");
fileConn.Close();

wyeksportować do MSSQL Servera?

Mam nadzieję że się nikt nie oburzy, że pewnie zadaje fundamentalne 
pytania ;).
Technical Details
Message-ID: <dkvgo9$1nn$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: Przemek <psmolich@gazeta.pl>
Newsgroups: alt.pl.comp.lang.csharp
Subject: Odbc -> DataSet -> SqlClient
Date: Thu, 10 Nov 2005 14:08:20 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 18
Message-ID: <dkvgo9$1nn$1@inews.gazeta.pl>
NNTP-Posting-Host: are10.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1131628105 1783 83.17.190.10 (10 Nov 2005 13:08:25 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Thu, 10 Nov 2005 13:08:25 +0000 (UTC)
X-Accept-Language: pl, en-us, en
X-User: psmolich
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit