468,539 Members | 1,543 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,539 developers. It's quick & easy.

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

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
3 4757
ansumansahu
149 100+
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
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
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.

Similar topics

4 posts views Thread by TonyMontana | last post: by
1 post views Thread by NathanB | last post: by
9 posts views Thread by a | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.