ASP.Net: Custom control problem with XML file data source
-
Hello everybody I finally have a bit of time to look into a problem which has been annoying me for some months, without a solution so far. I'm hoping some clever guru will take pity on me and help resolve it. :) The situation: I have created a custom control that uses a data source to display dates on a web site, and allow the user to select a range of dates. However, I have different problems depending on the data source I use. - Access database using a dataset generated in VS 2005: selecting a range works beautifully However, I then can't overwrite the Access file on my ISP's web server, and besides, it's overkill for a handful of records, so I tried solution number 2: - XML file loaded into a dataset created in my code: the control "forgets" the data source when the user selects a range. The control in its buggy XML incarnation is visible here: http://www.eburrows.co.uk/apt111/availabilitybug.aspx. While its working Access dataset-based version is here: http://www.eburrows.co.uk/apt111/availability.aspx Of course, full source code will be provided to anyone kind enough to volunteer their expertise! :) Thanks!