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
dany
NA
5
1.3k
help en C#
Aug 9 2013 1:04 AM
hello,
I want to know how to search in datagridview and only BindingSource, I want when the user starts to enter a word in a TextBox the result shows how to dynamically ing the datagridview!
I tried it but nothing happens!
private void textBox_search_word_TextChanged(object sender, EventArgs e)
{
if (textBox_search_word.Text == string.Empty)
{
MyBindingSource.RemoveFilter();
}
else
{
MyBindingSource.Filter = string.Format("Name LIKE '*{0}*'", textBox_search_word.Text);
MydataGridView.DataSource = MyBindingSource;
}
}
Thank you in advance
Reply
Answers (
4
)
generate store procedure in C#.net that reflect is Database
events and controls