How to Write/Read a Text File in windows mobile emulator?
by ajoysaha - 11/12/10 7:50 PM
i'm using VS 2008. my code are given here..
string path = @"c:\\test.txt";
using (StreamWriter sw = File.CreateText(path))
using (StreamReader sr = File.OpenText(path))
string s = "";
while ((s = sr.ReadLine()) != null)
but error message: Could not find a part of the path '\c:\test.txt'.
Though i am using many code from Internet but still i can not write a file and read from this file.I want to create a file if not exists and want to read text from that file but problem is that path.So please help to do that.