writing to xml file from physical file location

writing data to xml file from phyical file location

Page 1 of 1

1 Replies - 1489 Views - Last Post: 28 August 2009 - 01:02 PM Rate Topic: -----

#1 komal_1948  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 28-August 09

writing to xml file from physical file location

Post icon  Posted 28 August 2009 - 12:59 PM

string pdf_file = Path.GetFileName("E:/New Folder (5)/new/pdf/Jackson_James.pdf");
		string attribute_pdf= Convert.ToString(File.GetAttributes("E:/New Folder (5)/new/pdf/Jackson_James.pdf"));
		TextBox2.Text=attribute_pdf;
		TextBox3.Text =Convert.ToString(File.GetCreationTime("E:/New Folder (5)/new/pdf/Jackson_James.pdf"));
		TextBox1.Text=pdf_file;
	 //   XmlTextWriter pdf_write = new XmlTextWriter("E:/New Folder (5)/new/XMLFile.xml", null);
	   
		//pdf_write.WriteStartDocument();
		//pdf_write.WriteStartElement(pdf_file);
		//pdf_write.WriteEndDocument();


Is This A Good Question/Topic? 0
  • +

Replies To: writing to xml file from physical file location

#2 Core  Icon User is offline

  • using System.Linq;
  • member icon

Reputation: 774
  • View blog
  • Posts: 5,097
  • Joined: 08-December 08

Re: writing to xml file from physical file location

Posted 28 August 2009 - 01:02 PM

And what exactly is the problem? Are there any debugging errors or you don't know how to build the writing method?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1