var report1 = new reportViewer1(); var objectDataSource1 = new Telerik.Reporting.ObjectDataSource(); objectDataSource1.DataSource = classes.Stu; report1.DataSource = objectDataSource1; Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); reportParameter1.Name = "yearParam"; reportParameter1.Text = "Enter Value for year"; reportParameter1.Type = Telerik.Reporting.ReportParameterType.String; reportParameter1.AllowBlank = false; reportParameter1.AllowNull = false; reportParameter1.Value = cvyear.ToString(); reportParameter1.Visible = true; reportParameter1.AvailableValues.DataSource = objectDataSource1; reportParameter1.AvailableValues.ValueMember = "= Fields.Anno"; Telerik.Reporting.Filter filter1 = new Telerik.Reporting.Filter(); filter1.Expression = "= Fields.Anno"; filter1.Operator = Telerik.Reporting.FilterOperator.Equal; filter1.Value = "= Parameters.yearParam.Value"; Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource(); reportSource.ReportDocument = report1; reportViewer1.ReportSource = reportSource; reportViewer1.RefreshReport();