Creating a Search Button in a Windows Form Application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cbones
    New Member
    • Oct 2008
    • 1

    Creating a Search Button in a Windows Form Application

    Hello,

    I am trying to create a search button in a windows forms application. I used a Microsoft Access 2007 file as the database and would like to be able to search the file by specific fields. Two of the fields would be a Number and a Name. If I could search by either that would be great. The windows forms application is designed with a grid that can be sorted by any column. The search button would have to scan the Access file and return any results that match.
    Any ideas that can put me in the right direction would be appreciated.

    Thank you.
  • Barok
    New Member
    • Sep 2007
    • 10

    #2
    OleDb is what you looking for.

    http://msdn.microsoft. com/en-us/library/aa288452(VS.71) .aspx

    Comment

    Working...