Edit XML files using C # + (DataGrid control)

xiaoxiao2021-03-06  39

Author Blog: http://blog.9cbs.net/ouyang76cn/ Use the C # (DataGrid Control) Editing XML file This source code is based on the principle of the XML file according to the online VB.NET to use C # rewritten. Except for the XML file. No code is not reused! This small code can delete, modify, or add new records to the record of the XML file. Use the SortCommand event of the DataGrid control to sort the records in XML.

Email: Ouyang76.263.net ----------------------------------------- % @ page language = "C #" trace = "true"%> <% @ import name "%> <% @ import name"%> "system.io"%>