URI formats are not supported in c#
问题 I am trying to insert my data in to xml file. the xml file location path: http://AutoCompleteInGridView%20new1/Design/Pro/pricelist.xml . when inserting my data i got error URI formats are not supported . It shows argument exception was unhandled.I want to save my xml file in server system .these url belongs to ServerPath location. can anyone give me a suggestion or links to solve these problem. here is the error: 回答1: Use this sample: string uriPath = "YourAddress/pricelist.xml"; string