XML Data Binding Objects and the ASP.NET Framework

Support FAQ > Liquid XML Data Binding
The generated C# And VB.NET XML Data Binding classes support the INotifyPropertyChanged interface and the generated collections support the IBindingList interface to help with with simple bound controls in a Web From.

If your data is simple then this should just map directly as shown in the Microsoft example:
http://www.asp.net/web-forms/tutorials/data-access/basic-reporting/displaying-data-with-the-objectdatasource-cs

However, usually the data is too complex for this simple approach (or you could just bind directly to the XML document), in which case, you may need to take the approach of writing your own logic to get the appropriate data to return for each call as shown here:
http://www.asp.net/web-forms/tutorials/data-access/introduction/creating-a-business-logic-layer-cs

This will mean writing custom code that supports the required interface (e.g. for select, insert etc.), with each custom method interrogating the Liquid generated object model as appropriate.

Add Feedback