Last post Dec 06, 2012 11:47 PM by Decker Dong - MSFT
Dec 06, 2012 11:30 AM|justindongqiang|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 06, 2012 11:47 PM|Decker Dong - MSFT|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.