G
Guest
I'm really struggling with deciding on the best way to approach my particular
website design scenario. Most tutorials and samples assume an sql backend
database.
What I have is a proprietary database (which I'm stuck with) that I
communicate with via a dll which expects requests in xml and returns the data
back in xml.
I've initially created a generic data access class that has 2 string
parameters containing the dll method to call and a string of xml that defines
the data required from the method. The class then reads the returned xml
into a dataset and returns the appropriate table from the dataset. The asp
pages use this class in ObjectDataSource objects so that the datatables can
be bound to gridviews and can used in reports etc.
Does this seem a reasonable approach? It seems to work fine for displaying
data but I'm not sure about how to handle updating the data with this
approach. I also keep reading about strong-typed datasets. I don't see the
benefit in this scenario but I could be wrong.
I'm new to asp.net so any comments would be gratefully received.
Regards,
Bernie Beattie
website design scenario. Most tutorials and samples assume an sql backend
database.
What I have is a proprietary database (which I'm stuck with) that I
communicate with via a dll which expects requests in xml and returns the data
back in xml.
I've initially created a generic data access class that has 2 string
parameters containing the dll method to call and a string of xml that defines
the data required from the method. The class then reads the returned xml
into a dataset and returns the appropriate table from the dataset. The asp
pages use this class in ObjectDataSource objects so that the datatables can
be bound to gridviews and can used in reports etc.
Does this seem a reasonable approach? It seems to work fine for displaying
data but I'm not sure about how to handle updating the data with this
approach. I also keep reading about strong-typed datasets. I don't see the
benefit in this scenario but I could be wrong.
I'm new to asp.net so any comments would be gratefully received.
Regards,
Bernie Beattie