To Search a record in datagridview

Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Nov 2007
Posts: 15
Reputation: Triss is an unknown quantity at this point 
Solved Threads: 1
Triss's Avatar
Triss Triss is offline Offline
Newbie Poster

Re: To Search a record in datagridview

 
0
  #21
Nov 13th, 2007
Hi I would either use the filter options or requery your datasource.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 21
Reputation: George_E is an unknown quantity at this point 
Solved Threads: 0
George_E George_E is offline Offline
Newbie Poster

Re: To Search a record in datagridview

 
0
  #22
Nov 15th, 2007
Hey guys I have been closely watching your threads regarding searching a record in a datagrid as I have the same problem as Geetajilo.

I can easily search for something in a datagrid by entering a field into a textbox and pressing the search button. This works fine when the record is already in the datagrid, but however how can you retrieve a record from the database and place it in the datagrid.??


Thanks for your time
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 645
Reputation: binoj_daniel is an unknown quantity at this point 
Solved Threads: 17
binoj_daniel's Avatar
binoj_daniel binoj_daniel is offline Offline
DaniWeb Expert

Re: To Search a record in datagridview

 
0
  #23
Nov 16th, 2007
You can do it by quering it based on a column name. So you have to write a backend query to bind your search to the GRID.
Last edited by binoj_daniel; Nov 16th, 2007 at 2:01 pm.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 22962 | Replies: 22
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC