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
Samio
NA
201
176.7k
BindingList Filter on Linq to SQL bindingsource
Aug 1 2012 8:30 PM
Is it possible to Filter a BindingList passed to a bindingsource control:
private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text.Length == 0)
{
productBindingSource.Filter = null;
}
else
{
productBindingSource.Filter = "ProductName = '" + textBox1.Text + "'";
//productBindingSource.RemoveFilter();
}
}
Thanks in advance.
Reply
Answers (
1
)
Convert Word to XML using Microsoft Word Object Library
How to get default date of birth when we give age?