Crystal report parameterfield
-
Hi , I am working on crystal report on web form..I am passing parameter to report for that I had a code as follows.... ParameterFields parameterFields = new ParameterFields(); ParameterField parameterField = new ParameterField(); parameterField.ParameterFieldName = "DeliveryDate"; ParameterDiscreteValue dv = new ParameterDiscreteValue(); dv.Value = DateTime.Today; parameterField.CurrentValues.Add(dv); this.parameterFields.Add(parameterField); Proble in this is instead of " parameterField.CurrentValues.Add(dv); " I am not getting the property of parameterfield as CurrentValues instead there comes.... " parameterField.get_CurrentValues; " & it's not working.....so can anybody help me to get the Currentvalues property for the parameterfield. In my project I added the referece as ... using CrystalDecisions.CrystalReports.Engine ; using CrystalDecisions.Shared; using CrystalDecisions.CrystalReports; still it is not giving that property.... plz help me... Thanks..
-
Hi , I am working on crystal report on web form..I am passing parameter to report for that I had a code as follows.... ParameterFields parameterFields = new ParameterFields(); ParameterField parameterField = new ParameterField(); parameterField.ParameterFieldName = "DeliveryDate"; ParameterDiscreteValue dv = new ParameterDiscreteValue(); dv.Value = DateTime.Today; parameterField.CurrentValues.Add(dv); this.parameterFields.Add(parameterField); Proble in this is instead of " parameterField.CurrentValues.Add(dv); " I am not getting the property of parameterfield as CurrentValues instead there comes.... " parameterField.get_CurrentValues; " & it's not working.....so can anybody help me to get the Currentvalues property for the parameterfield. In my project I added the referece as ... using CrystalDecisions.CrystalReports.Engine ; using CrystalDecisions.Shared; using CrystalDecisions.CrystalReports; still it is not giving that property.... plz help me... Thanks..
Regarding the refresh button there are two ways which i think they arr good 1. I think there is no need for clearing the controls after searching if searching not found than the user will take another choice. like as google .google works like this so do it in this way 2.i u really want that if searching not found than u can use this function in the search button click event.and u can show like this that this emplyee not found (display name). thanks vishwa