.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 31st, 2010, 07:53 AM
bhv bhv is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 55 bhv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 25 m 19 sec
Reputation Power: 13
ASP.net MySQL

hello everybody,
i have to load excel data into MySQL table through asp.net with vb.

Dim ConnStr As String = "Driver={MySQL ODBC 3.51 Driver};Server=localhost;Database=dbname;uid=dbuse r;pwd=dbpw;"


Dim MySQL As String
Dim MyConn As New OdbcConnection(ConnStr)
Dim cmd As New OdbcCommand
MySQL = "LOAD DATA INFILE 'test1.csv' INTO TABLE bhv.test fields terminated by ',' lines terminated by '\n'"
cmd = New OdbcCommand(MySQL, MyConn)

MyConn.Open()

but it's doing nothine. even not showing any error. data does not load in MySQL table

whats wrong i am doing?/

thanks

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > ASP.net MySQL


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap