Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
How to create more than one webschedule Info in a single project & bind different datasource
posted

Hi

Can any one say whether it is posible to have more than one webschedule info in a single project/ solution?

And bind 2 different datasource (2 sets of data for each webschedule resply)?

Eg:

1 webschedule for inspection (working fine using "CustomDataProvider.cs")

2 webschedule for FacilityBooking (when I run, it always points to the above "CustomDataProvider.cs")

Both has 2 different set of data from 2 different tables using 2 different stored procedures.

Could any one please guide me to solve the above?

Thanks in advance.

Priya

Parents
No Data
Reply
  • 19308
    posted

    A view connects to a WebScheduleInfo, which is connected to a WebScheduleDataProvider which then is responsible for connecting to your backend database.  You can have two separate views connected to two separate WebScheduleInfo objects, etc.  You cannot have one view connected to multiple WebScheduleInfo objects. 

    To connect a view to a specific WebScheduleInfo object, use the .WebScheduleInfo property on each view.

    -Tony

Children
No Data