Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Showing posts with label Read/Write text file. Show all posts
Showing posts with label Read/Write text file. Show all posts

how to read or write text file using asp.net

Dec 9, 2010 30 comments

Introdcution

Here I will explain how to read or write text file using asp.net

Description

Reading and Writing text file content in asp.net it’s very simple once if we use name space called 

using System.IO;


The System.IO namespace contains types that allow reading and writing to files and data streams and types that provide basic file and directory support.

Check this link for clear information on this namespace Click Here

After that in code we will use Class File to get properties like

© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.