TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mata
NA
46
34.6k
Using one (or more ) conditions in filter expression
Nov 22 2011 3:41 AM
Is it possible to use only one condition (parameter) in filter expression
example below, so sometimes I would use both conditions and sometimes only one of them. Now when I don't use both, nothing gets filtered (I'm using this on gridview)
FilterExpression="NumberofPages= '{0}' and NumberofPeople= '{1}'" >
<FilterParameters>
<asp:ControlParameter ControlID="TextBox1" Name="NumberofPages" PropertyName="Text" />
<asp:ControlParameter ControlID="TextBox2" Name="NumberofPeople" PropertyName="Text" />
</FilterParameters>
Reply
Answers (
3
)
How to send repeater items in Inactive mode?
SOLVED Deafult last column sorting gridview problem