I have Appointments table (name table is "Plan"). This table have are 83092 rows. (This data on 2015-2019 years)
Next code working very slow(near 2 minutes).
How can Scheduler get rows from DataSet, on selecting date in SchedulerNavigator?
AppointmentMappingInfo planmapping = new AppointmentMappingInfo(); this.schedulerBindingDataSource1.EventProvider.DataSource = this.planBindingSource; planmapping.Description = "Comment"; planmapping.End = "DateEnd"; planmapping.MasterEventId = "MasterEventID"; planmapping.RecurrenceRule = "RecurrenceRule"; planmapping.ResourceId = "id_PlanType"; planmapping.Start = "Date"; planmapping.Summary = "LastName"; planmapping.UniqueId = "id"; planmapping.FindBySchedulerProperty("ResourceId").ConvertToDataSource = ConvertResourceToDataSource; planmapping.FindBySchedulerProperty("ResourceId").ConvertToScheduler = ConvertResourceToScheduler; this.schedulerBindingDataSource1.EventProvider.Mapping = planmapping; ResourceMappingInfo plantypeMapping = new ResourceMappingInfo(); plantypeMapping.Name = "Name"; plantypeMapping.Id = "id"; this.schedulerBindingDataSource1.ResourceProvider.DataSource = this.medClinicDataSet.PlanType; this.radScheduler1.DataSource = this.schedulerBindingDataSource1; this.planTableAdapter.Connection.ConnectionString = CData.Setting.SQLConnectString(); this.planTypeTableAdapter.Connection.ConnectionString = CData.Setting.SQLConnectString(); // TODO:"medClinicDataSet.PlanType". this.planTypeTableAdapter.Fill(this.medClinicDataSet.PlanType); // TODO: "medClinicDataSet.Plan". this.planTableAdapter.Fill(this.medClinicDataSet.Plan); this.radScheduler1.GroupType = GroupType.Resource;