By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,813 Members | 2,269 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,813 IT Pros & Developers. It's quick & easy.

import text files into databases (such as access) using visual basic???

P: 2
Hi, I'm a beginner in visual basic and programming. My programme needs to let the user browse for a text file and when the user press a command button, the programme will list out the text file into a datagrid.

First, I know how to import a text file into microsoft access. But that is just 1 text file. The user needs to access other text files in my programme as well.

So the problem is, using visual basic, how do I import text files into datagrid during run time?

Please guide me if anyone does know. Thank you so much!
Apr 17 '07 #1
Share this Question
Share on Google+
3 Replies


100+
P: 149
Hi, I'm a beginner in visual basic and programming. My programme needs to let the user browse for a text file and when the user press a command button, the programme will list out the text file into a datagrid.

First, I know how to import a text file into microsoft access. But that is just 1 text file. The user needs to access other text files in my programme as well.

So the problem is, using visual basic, how do I import text files into datagrid during run time?

Please guide me if anyone does know. Thank you so much!
Why don't you try to read the text file and put the parsed content into a temporary table. Then from that temporary table put the data into the datagrid.

-ansuman sahu
Apr 17 '07 #2

P: 2
Oh... So how do i put it to a temp table? Sorry I'm not very proficient in programming. Thank you.
Apr 18 '07 #3

P: 47
Oh... So how do i put it to a temp table? Sorry I'm not very proficient in programming. Thank you.
See My Posting
Apr 19 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.