Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
How can i check if the result of below is empty or <1 ?
CurrentPage.Search(Request.QueryString["query"])
Thanks and kind regards,
J
CurrentPage.Search returns a collection, just use .Any()
See:https://msdn.microsoft.com/en-us/library/vstudio/bb337697(v=vs.90).aspx
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Checking if empty
Hello,
How can i check if the result of below is empty or <1 ?
CurrentPage.Search(Request.QueryString["query"])
Thanks and kind regards,
J
CurrentPage.Search returns a collection, just use .Any()
See:https://msdn.microsoft.com/en-us/library/vstudio/bb337697(v=vs.90).aspx
is working on a reply...