Home arrow ASP.NET arrow Reading a Delimited File Using ASP.Net and VB.Net
ASP.NET

Reading a Delimited File Using ASP.Net and VB.Net


New to .NET? Wondering how to split contents using a delimiter? No problem, this latest article from Ajaykumar shows you just how easy reading the contents of a delimited file can be.

Author Info:
By: G Ajaykumar
Rating: 4 stars4 stars4 stars4 stars4 stars / 132
October 15, 2003
TABLE OF CONTENTS:
  1. · Reading a Delimited File Using ASP.Net and VB.Net
  2. · Usage
  3. · Example Code
  4. · Example Code, Cont'd
  5. · Code Explanation
  6. · Output

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Reading a Delimited File Using ASP.Net and VB.Net
(Page 1 of 6 )

The following article will detail how to read a delimited text file using ASP.Net or VB.Net, which will explain various aspects of a delimited file, code explanation and source code.

We must be aware of importing data into a database.  Data which is used for importing is normally in the form of a text file.  These files are also called  comma separated value files, which will normally have a .csv extension.

In either case, whether it’s a text file or a .csv file, all the values are delimited using a character.  This particular character, which is used for separating the values, is called the delimiter. This delimiter may be a word, a letter, a tab, or a space.

Let us have a look at an example of how these delimited files may be laid-out:

Example: Comma-Delimited File:

Value1, Value2, Value3, Value4, Value5

In the above example, we can see a comma between the words Value1 Value2 until Value 5.

Example: Tab-Delimited File

Value1    Value2    Value3    Value4    Value5

In the above example we are able to see a tab between all the values.

Next: Usage >>

blog comments powered by Disqus
ASP.NET ARTICLES

- How Caching Means More Ca-ching, Part 2
- How Caching Means More Ca-ching, Part 1
- Reading a Delimited File Using ASP.Net and V...
- What is .Net and Where is ASP.NET?
- An Object Driven Interface with .Net
- Create Your Own Guestbook In ASP.NET
- HTTP File Download Without User Interaction ...
- Dynamically Using Methods in ASP.NET
- Changing the Page Size Interactively in a Da...
- XML Serialization in ASP.NET
- Using Objects in ASP.NET: Part 1/2
- IE Web Controls in VB.NET
- Class Frameworks in VB .NET
- Cryptographic Objects in C#: Part 1
- Sample Chapter: Pure ASP.Net

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 7 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials