XmlTextReader in PDA
-
Hello fellows. I hope all you will be doing fine. dears i have a problem at hands and have done everything. I am doing a project for PDA.i want to read a Xml file from drive c. but when ever i deploy the project it says that the file is not located.check the path.this error is generated on run time. i am using the following code. FileStream fs = new FileStream(@"c:\\xmldata.xml", FileMode.Open); XmlTextReader reader = new XmlTextReader(fs); kindly help me out. Its urgent. Ahsan Ullah
-
Hello fellows. I hope all you will be doing fine. dears i have a problem at hands and have done everything. I am doing a project for PDA.i want to read a Xml file from drive c. but when ever i deploy the project it says that the file is not located.check the path.this error is generated on run time. i am using the following code. FileStream fs = new FileStream(@"c:\\xmldata.xml", FileMode.Open); XmlTextReader reader = new XmlTextReader(fs); kindly help me out. Its urgent. Ahsan Ullah
Ahsan-AhsanS wrote:
I am doing a project for PDA.i want to read a Xml file from drive c. but when ever i deploy the project it says that the file is not located.check the path.this error is generated on run time. i am using the following code.
That's because your PDA does not have a "Drive C"
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage (1791-1871) My: Website | Blog
-
Ahsan-AhsanS wrote:
I am doing a project for PDA.i want to read a Xml file from drive c. but when ever i deploy the project it says that the file is not located.check the path.this error is generated on run time. i am using the following code.
That's because your PDA does not have a "Drive C"
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage (1791-1871) My: Website | Blog
-
than how can i give it the path to my c drive.i want it to read the file from my pc's c drive.plzzzzz help me out. Ahsan Ullah