Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 07, 2012 03:47 AM by Decker Dong - MSFT
Dec 06, 2012 03:30 PM|LINK
I am having an application, now we are adding roles/user/permissions to access... I know we could just put these data into an xml file and then read. we do not want to save into database. . Other then xml file, what are the best ways to handle this kind
Dec 07, 2012 03:47 AM|LINK
For this kind of issue，I mean if you don't wanna cope with the problem with sql database but xml，you have to use XDocument or XmlDocument to CRUD xml files and output it to override it.
Besides this, you can also create a memory-based DataTable put into ViewState for avoiding lost during post page the whole page, and then you can use something like ReadXml or WriteXml to input/output to xml file.