Hi Friends,
I like to find an xml file path. (Before answering please refer the solution exp. image attachment)
Its an 3Tier application
as in the main project i have an xml file named: Events.xml
i need to save xml string to this events.xml from my datalayer
note: Inside this main project i have created two new projects for business layer and data layer.
so, from this data layer project i need to save xml string to Events.xml file which is located in my main project.
I have attached the solution explorer image here with.
There you can find Event.xml file and datalayer.vb file
i need to save xmlstring from datalayer.vb file to Event.xml file
Currently i am using the full file path as:
xmldoc.Save("D:\TestProjects\SampleInvoiceWebApp\sampleinvoicewebapp\sampleinvoicewebapp\Events.xml")
But if we upload this project in server won't work - so, need to have a solution in this regard.
Expecting your valuable reply.
Regards,
Thiru.