How to Write/Read a Text File in windows mobile emulator?
by ypkumar - 7/15/11 10:29 PM
In Reply to: How to Write/Read a Text File in windows mobile emulator? by ajoysaha
In windows mobile file path as "\\Program Files\\Projectname\\filename "(ex:"Program Files\\jsonstringpra\\jsonstring.txt"). I add a text file jsonstring to my project and select file and property ser as Copy if newer.
just look at my code:
StreamReader resposeStream = new StreamReader("Program Files\\jsonstringpra\\jsonstring.txt");
parsingstring = resposeStream.ReadToEnd();
label5.Text = parsingstring;
it excutes correctly.