Hi,
I just added the following to a web page in Visual Studio 2008 using VB.
AccessDataSource
WebScheduleInfo
WebScheduleOleDbProvider
WebCalendarView
WebDayView
WebWeekView
Everything seems to work ok and they are all work together but I don't know how to add data to the database. Do you need to do it with code? Are there any controls that I can use to add the calendar data? I see that there is an Access WebSchedule Data Model available from Microsoft for $99. Does that work to add data? Is there something similar from Infragistics?
Additionally, I would have preferred to use SQL Server 2008 but all the instructions I found are for Access. Although I just found something on this forum to wire the controls to the SQL database. I may try that but I still need to know how to add data. Would the process be the same for Access or SQL Server?
Thanks
Hi Jim,
The WebCalendarView and other views do not support its own data. They show whatever data their WebScheduleInfo provides. The WebScheduleInfo may work as stand alone or it may get data from a data provider. I think you may look at samples and their codes. Below is example how to link views with scheduleInfo and data provider:
<ig_sched:WebCalendarView id="WebCalendarView1" runat="server" WebScheduleInfoID="WebScheduleInfo1"></ig_sched:WebCalendarView><ig_sched:WebDayView id="WebDayView1" runat="server" WebScheduleInfoID="WebScheduleInfo1"></ig_sched:WebDayView><ig_sched:webmonthview id="WebMonthView1" runat="server" WebScheduleInfoID="WebScheduleInfo1"></ig_sched:webmonthview><ig_sched:WebScheduleInfo id="WebScheduleInfo1" runat="server"></ig_sched:WebScheduleInfo><ig_scheduledata:webscheduleoledbprovider id="WebScheduleOleDbProvider1" runat="server" ConnectionID="oleDbConnection1" WebScheduleInfoID="WebScheduleInfo1"></ig_scheduledata:webscheduleoledbprovider>