hi friends...
i want to search a record from a datagridview with an input box...
Can anyone help me plz...
It's 4 my project ...
Need help plzzzz...
geetajlo
-2
Junior Poster in Training
Recommended Answers
Jump to PostSo you need to type the parameter in a input box to filter the Grid?
Jump to PostAre you using VS 2003 or VS 2005?
Database SQL or Access?
Jump to PostYou could loop through the rows in the datagridview ? Or maybe re-query the datasource?
Dim intcount As Integer = 0
For Each Row As DataGridViewRow In DataGridView1.Rows
If DataGridView1.Rows(intcount).Cells(0).Value = "StringSearch" Then
'Do Something
intcount +=1
End If
Next Row
Jump to PostDo you want to search a particuar column from the DB or just any text in the Grid?
Jump to PostWelcome anandkumarrs6.
We appreciate your help. Have you ever noticed that the current thread is three years old? Please do not resurrect old threads and have a look at forum rules. Please read before posting - http://www.daniweb.com/forums/thread78223.html
Thread Closed.
All 27 Replies
binoj_daniel
14
Practically a Master Poster
binoj_daniel
14
Practically a Master Poster
vcombstlh
0
Newbie Poster
geetajlo
-2
Junior Poster in Training
Triss
0
Newbie Poster
binoj_daniel
14
Practically a Master Poster
Triss
0
Newbie Poster
binoj_daniel
14
Practically a Master Poster
geetajlo
-2
Junior Poster in Training
geetajlo
-2
Junior Poster in Training
Triss
0
Newbie Poster
binoj_daniel
14
Practically a Master Poster
geetajlo
-2
Junior Poster in Training
Triss
0
Newbie Poster
geetajlo
-2
Junior Poster in Training
Triss
0
Newbie Poster
geetajlo
-2
Junior Poster in Training
Triss
0
Newbie Poster
geetajlo
-2
Junior Poster in Training
Triss
0
Newbie Poster
George_E
0
Newbie Poster
binoj_daniel
14
Practically a Master Poster
anandkumarrs6
0
Newbie Poster
kvprajapati
1,826
Posting Genius
Team Colleague
Salem
commented:
Yes!
+20
rejz88
0
Newbie Poster
rejz88
0
Newbie Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.