Dot Net Ocean
Wednesday, 21 December 2011
File handling in ASP.NET : Delete From file
›
protected void DeleteFromFile() { FileStream fr = new FileStream(Server.MapPath("temp.txt"), FileMode.Open, FileAcc...
File Handling in ASP.NET : Retrieve Data from a file
›
protected void RetriveFromFile() { position = 0; total = 0; FileStream fs = new FileStream(Server.MapPath(...
File Handling in ASP.NET : Insert into a file
›
protected void InsertIntoFile() { if (TextBox1.Text != "" && TextBox2.Text != "" && TextB...
XML file for AdRotator in ASP.NET
›
<?xml version="1.0" encoding="utf-8" ?> <Advertisements> <Ad> <ImageUrl>Picture_URL1.jp...
XML File Operations : Update a node in XML file
›
protected void UpdateXMLNode(string xmlFilePath) { if (File.Exists(xmlFilePath)) { DataSet ds = new Dat...
XML File Operations : Delete from XML file
›
protected void DeleteXMLNode(string xmlFilePath) { if (File.Exists(xmlFilePath)) { DataSet ds = new Dat...
XML File Operations : Create and Insert in XML file
›
protected void InsertXML(string xmlFilePath, string elements, string element) { if (!File.Exists(xmlFilePath)) ...
›
Home
View web version