I've researched, tried, researched tried and have come to use the following as my conclusion. Then just open the file as at text file and read it line by line processing as you go. There is a lot more coding involved by it is much much faster to execute.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge. You're trying to visit a URL that doesn't currently exist on the web. Most likely, a member posted a link a long time ago to a web page that has since been removed.
It's also possible that there was a typo when posting the URL. We redirect you to this notice instead of stripping out the link to preserve the integrity of the post. Answered by ChrisPadgham in a post from 10 Years Ago. Jump to Post. StreamReader myfile, System. Facebook Like.
Twitter Tweet. Be a part of the DaniWeb community. Sign Up — It's Free! Find centralized, trusted content and collaborate around the technologies you use most.
Connect and share knowledge within a single location that is structured and easy to search. NET, I get the following multiple tables:. Any ideas how I could semi-automatically and without knowing the structure ahead of time force the import into a single table a la Excel? You could try to load it into a DataTable instead, but then you have to provide a schema, and while I don't know if it would actually work, it's probably not what you want.
So only solution is to just merge your DataSet into a single DataTable. Source: RedAnt techblog and weblogs. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?
Collectives on Stack Overflow. Learn more. Asked 9 years, 4 months ago. Active 9 years, 4 months ago. Viewed 2k times. NET, I get the following multiple tables: day 0 hour 0 1 1 2 2 3 3 4 4 5 5 6 6 Improve this question. Add a comment. Active Oldest Votes.
The result will look like this: Beware, a whole bunch of code but translation to VB. Tables foreach DataColumn column in table. The comment is now awaiting moderation. You will be notified via email when the author replies to your comment.
Please select a comment to reply. You can add your comment about this article using the form below. Make sure you provide a valid email address else you won't be notified when the author replies to your comment Please note that all comments are moderated and will be deleted if they are Not relavant to the article Spam Advertising campaigns or links to other sites Abusive content. Please do not post code, scripts or snippets. Required Invalid Email Address. Security code:. Required Invalid security code.
I declare, I accept the site's Privacy Policy. Add Comment. Disclaimer : The code samples and API available at www. You are free to use it for commercial as well as non-commercial use at your own risk, but you cannot use it for posting on blogs or other tutorial websites similar to www. All the code samples and API provided by the authors are solely their creation and neither the author nor the site are responsible if it does not work as intended.
0コメント