Try our conversational search powered by Generative AI!

FindPagesWithCriteria med "mindre än eller lika med"

Vote:
 
Jag vill göra en FindPagesWithCriteria med följande typ av kriteria: PropertyCriteria CritProperty1 = new PropertyCriteria(); CritProperty1.Name = "CampaignFrom"; CritProperty1.Type = PropertyDataType.Date; CritProperty1.Value = System.DateTime.Now.ToString(); CritProperty1.Condition = EPiServer.Filters.CompareCondition.LessThan; CritProperty1.Required = true; NewPagesCriteria.Add(CritProperty1); CompareCondition har bara LessThan och GreaterThan och Equal men jag skulle vilja söka på "mindre än eller lika med" resp. "större än eller lika med". Hur gör jag det? mvh Peter
#12256
Apr 11, 2005 15:07
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.