Yesterday is snow, the weather should be cold. Today is the birthday of my classmates in the bedroom, I wish him a happy birthday! Here is a piece of code I found from other websites, leaving a collection. Parameters transmitted to Crystal Reports, Crystal Reports now set parameters, and assign the selected parameter equation CrystalDecisions.Shared.ParameterValues mypaVal = new CrystalDecisions.Shared.ParameterValues (); CrystalDecisions.Shared.ParameterDiscreteValue mypaDVal = new CrystalDecisions.Shared.ParameterDiscreteValue (); Mypadval.value = parameter value; mypaVal.add (mypadval); myPaval.DATADEFINITION.PARAMELDS ["Crystal Report"] .applycurrentValues (MyPaval);