Fonction recuperer fichier .txt => BD debutan

Fermé
cana01 Messages postés 167 Date d'inscription mardi 3 juin 2008 Statut Membre Dernière intervention 25 avril 2013 - 2 sept. 2010 à 11:44
Bonjour,

J'aimerasi que vous m'aidier à optenir une fonction en c#
me permetant de recuperer une base de donnée specifique en .txt et la deversée dans une dans une base MySql par exemple.





Msg 3701, Level 11, State 5, Server CGSRV221, Line 1
Cannot drop the table 'PSG_070DEXI_tbl_solde', because it does not exist in the system catalog.
Msg 3701, Level 11, State 5, Server CGSRV221, Line 2
Cannot drop the table 'PSG_070DEXI_tbl_abon', because it does not exist in the system catalog.
Msg 3701, Level 11, State 5, Server CGSRV221, Line 3
Cannot drop the table 'PSG_070DEXI_Coupure', because it does not exist in the system catalog.
reference Identifiant numero_ctr Nom Prenom perfact position psabon typbrancha qualite_payeur regldisja typabon typfact typtarif numfact AvSC Montant Mont_paye date_limite date_edition date_fact
------------- ------------ --------------- --------------- --------------- ------- -------- -------------------- ---------- -------------- --------- ------- ------- -------- ------- -------------------- ----------- ----------- ----------- ------------ ----------
2210400051610 221146614000 04066594 KOUADIO KOUADIO MARTIN 012010 6 1.100000 1 0500 5 1 17 01 209 5655.000000 4790 39900 09/03/2010 01/08/2010 15/02/2010
2210400051610 221146614000 04066594 KOUADIO KOUADIO MARTIN 032010 6 1.100000 1 0500 5 1 17 01 211 5655.000000 2580 0 06/05/2010 01/08/2010 13/04/2010
2210400051610 221146614000 04066594 KOUADIO KOUADIO MARTIN 052010 6 1.100000 1 0500 5 1 17 01 212 5655.000000 1855 0 07/07/2010 01/08/2010 15/06/2010
2210400053610 221146799000 0034926 N'GOUAN KOUAO DESIRE 032010 6 1.100000 1 0300 5 1 17 01 179 5135.000000 2040 0 06/05/2010 01/08/2010 14/04/2010
2210400053610 221146799000 0034926 N'GOUAN KOUAO DESIRE 052010 6 1.100000 1 0300 5 1 17 01 180 5135.000000 1990 0 07/07/2010 01/08/2010 15/06/2010
2210400053810 221146777000 06002538 MASSOGOBA KONE 052010 6 1.100000 1 0300 5 1 17 01 190 5135.000000 880 0 07/07/2010 01/08/2010 15/06/2010
2210400153010 221147112000 09101652 COULIBALY AMADOU 052010 3 1.100000 1 0200 5 1 17 01 198 5655.000000 4640 0 21/06/2010 01/08/2010 31/05/2010
2210400154810 221147364000 09085994 GOMON THIERRY 072010 5 1.100000 1 0000 5 1 17 01 142 5300.000000 860 0 22/07/2010 01/08/2010 01/07/2010
2210400155400 221172561000 09075996 KONAN AMANKONAN K D 072010 5 1.100000 1 0900 5 1 17 01 198 5655.000000 90 0 22/07/2010 01/08/2010 01/07/2010
2210400156200 221147651000 09075995 YAO YAO 052010 6 1.100000 NULL 6700 5 1 17 01 242 0.000000 840 8400 07/07/2010 01/08/2010 15/06/2010
2210400156200 221147651000 09075995 YAO YAO 072010 6 1.100000 NULL 6700 5 1 17 01 243 0.000000 1470 2000 22/07/2010 01/08/2010 01/07/2010
2210400253120 221151664000 07086833 DOUMBOUYA KARIFALA 052010 6 1.100000 1 0509 5 1 17 01 171 5300.000000 9955 46840 17/06/2010 01/08/2010 27/05/2010
2210400307410 221149995000 09117396 THIO SOUNTIO 072010 1 2.200000 1 0009 10 1 17 02 100 30905.000000 6870 25980 27/07/2010 01/08/2010 06/07/2010
2210460101810 221017151000 949049 DIARRASSOUBA MAMADOU 052010 3 1.100000 NULL 6500 5 1 17 01 216 3537.000000 820 0 07/07/2010 01/08/2010 15/06/2010
2210460155250 221017862000 07029650 BATINO BOUBIE 072010 3 1.100000 NULL 0900 5 1 17 03 239 11722.000000 9060 54900 12/07/2010 01/08/2010 21/06/2010
2210460201600 221018751000 99079952 DIARRASSOUBA MORY 052010 6 1.100000 NULL 1400 5 1 17 01 218 0.000000 9290 49900 07/07/2010 01/08/2010 15/06/2010
2210460202400 221018612000 0388701 HAMADOU SURAJU HAMADOU 052010 3 1.100000 1 0400 5 1 17 01 169 5135.000000 1410 0 07/07/2010 01/08/2010 17/06/2010
2210460204820 221002337000 03036063 KOUAME AMANI 052010 3 2.200000 1 0300 10 1 17 02 103 30905.000000 2085 0 07/07/2010 01/08/2010 15/06/2010
2210460205410 221019591000 0128898 BERTHE ISSA 052010 3 1.100000 NULL 0300 5 1 17 01 234 4800.000000 2240 0 07/07/2010 01/08/2010 15/06/2010
2210460250440 221020363000 05040301 AILERU NIHINLADE ALICE 052010 3 1.100000 1 0900 5 1 17 01 208 5655.000000 1135 0 07/07/2010 01/08/2010 15/06/2010


A voir également: