Advertisement

09.04.2006 at 05:23AM PDT, ID: 21977351
[x]
Attachment Details

Using a File Stream in .NET using C#

Asked by cyberwebservice in .NET

Tags: file, stream

I am new to .Net

I am developing a Chat application now. I want to create and open a file and append the messages typed in the Chat Application and store it in a folder.

And I want to read the contents of the file and display it in the next .aspx page.

Please give the coding for that. I tried to write to a File using StreamWite. But it keeps throwing error. So, I want Experts help right from scratch.

Note: I request the experts not to give any urls to learn as I am tired of going through the urls and trying. I need clear coding which is tested. I have searched all the PAQs in EE regarding this, I have seen the sites w3schols.com, coadtode.com 4guysfromrolla.com etc. all the top tutorial sites, but still not able to figure it out.

Regards,
PriyaStart Free Trial
[+][-]09.04.2006 at 06:07AM PDT, ID: 17449541

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.04.2006 at 06:16AM PDT, ID: 17449598

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: .NET
Tags: file, stream
Sign Up Now!
Solution Provided By: GaryFrancisLond
Participating Experts: 2
Solution Grade: A
 
 
[+][-]09.05.2006 at 10:56PM PDT, ID: 17460943

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32