I am stuck again. Please help if any of you can. I am really appreciate it.
I am creating XML files and load them back again. I use this following code to write xml to a folder. the code below will put date and time to the file name. and this code works fine.
Dim filename As String = Server.MapPath("XML\" & SESSIONid & "_" & Replace(timenow, ":", "-") & ".xml")
dSetPupil.WriteXml(filename, True)
Again, I want to load the last xml file back and put in a dataset. I normally write code like
Dim dSet as new DataSet = ReadXml(Server.MapPath("AAA.xml")
But how can i find the last xml file and read it ?
Thanks xo much. Hope you guys having a nice day.