Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataView.RowFilter doesn’t filter an *
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00806319
Message ID:
00806328
Vues:
15
>Anyone know what the deal is with the rowfilter and a *.
>
>If I set my DataView.RowFilter to :
>
>dv.RowFilter = "cdescript   LIKE '%e%' " ;
>
>I will get everything that contains an ‘e’ as I would expect.
>
>If I do:
>
>dv.RowFilter = "cdescript   LIKE '%*%' " ;
>
>The view is not limited to just stuff that contains the ‘*’
>
>Anyone know how to get only the items that contain an asterisk using the RowFilter?


This is a total guess, and I didn't test it at all. But perhaps the asterisk needs to be escaped. so try "cdescript LIKE '%\*%' "

Just a shot in the dark, but ya never know.

Morgan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform