AJAX Forums

how to write aspx.cs page allows users to

This is a discussion on how to write aspx.cs page allows users to within the XML and XSLT forums, part of the Beginners AJAX category; edit data between tags in a XML file with treeview/Xmldatadocument? Since my xml file doesnot have any table structure if i use the data grid it displays all the ...


Go Back   AJAX Forums > Beginners AJAX > XML and XSLT

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 03-20-2007, 01:47 AM   #1 (permalink)
Junior Member
 
Join Date: Mar 2007
Posts: 1
Rep Power: 0 diducmy d is on a distinguished road
how to write aspx.cs page allows users to

edit data between tags in a XML file with treeview/Xmldatadocument? Since my xml file doesnot have any table structure if i use the data grid it displays all the text between tabs in one row and all the tabs as the columns. This makes the things ugly and inconvenient for the user as user to scroll horizontally through the page to edit the text. Also the data does not retain the format like white spaces. After a lot of googling around i came around the idea of using XmlDataDocument and schema to ensure the file retains the format during execution and that data is shown in a vertical manner and not horizontal. (If their is any better method of approaching this problem please let me know). string xmlPath = Server.MapPath("eng.xml"); string xmlSchemaPath = Server.MapPath("Language.xsd"); //SaveContacts(xmlPath, xmlSchemaPath); XmlDataDocument xmlDoc = new XmlDataDocument(); xmlDoc.DataSet.ReadXmlSchema(xmlSchemaPath);
__________________
<a href="http://developer.yahoo.com/about"><img src="http://us.dev1.yimg.com/us.yimg.com/i/us/nt/bdg/websrv_120_1.gif" border="0"> </a>
diducmy d is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
AJAX Jobs : Conduit-Results.aspx by suffik admin AJAX Freelance Jobs 0 07-28-2008 08:12 AM
I want to write an asp.net app that reads an xml file and outputs the Code D XML and XSLT 0 11-16-2007 01:33 PM
How can you write a readable xml file in C++ without using .net? randys XML and XSLT 1 05-20-2007 06:12 PM
How do I write to an xml file from a DTS ActiveX temi2004 XML and XSLT 0 03-18-2007 12:52 PM
Ajax: Single-page vs. Multi-page Application Ajaxking AJAX Articles 0 12-17-2006 10:15 PM


All times are GMT -4. The time now is 04:55 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com