Database Code
  Home arrow Database Code arrow Page 2 - Finding Matching Records in Data Access Pa...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
VeriSign Whitepapers 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
SunQuest
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DATABASE CODE

Finding Matching Records in Data Access Pages
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 9
    2006-12-12

    Table of Contents:
  • Finding Matching Records in Data Access Pages
  • Using a textbox to find matching records
  • The code page and the code to search the EmployeeID
  • Using Combo boxes to find records

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
    Iron Speed
     
    ADVERTISEMENT

    At the virtual BlackBerry Technical Seminar 2008, you can ask your development questions directly of Research In Motion® (RIM) experts, and take advantage of learning opportunities designed uniquely for BlackBerry solution developers. Register Today!

    Finding Matching Records in Data Access Pages - Using a textbox to find matching records


    (Page 2 of 4 )

    Create a TestEmployees.htm DAP

    The design view of the Employees table is shown in the following picture.

    The DAP is created using the "Create data access page by using wizard" shortcut in the DapCntrls database which has just one table called "Employees." The fields listed below were chosen from among the various fields (Columns) present. There was no particular reason for this choice.

    • EmployeeID
    • LastName
    • FirstName
    • BirthDate
    • Country

    Design View of TestEmployees.htm

    This created page, "TestEmployees.htm," is shown in design view together with its "FieldList" as shown in the next picture.

    Now add a textbox control from the "Tools" to the "Section: HeaderEmployees" just below the Employee information as shown in the next picture. The picture also shows the textbox's ID being changed to "IdEmp." The textbox's label was changed to "Search by EmployeeID." Now when it is properly coded, when you view this page, type in a number and step out, the Employee information displayed should reflect the EmployeeID you typed into this box.

    More Database Code Articles
    More By Jayaram Krishnaswamy


       · Implementing parametric queries using DAPs as discussed in an earlier tutorial...
       · I found the above article exactly what I was looking for. However on page 3 of the...
       · thanks for your best articlebut what is your following source code? :-)
       · if so, could you please pass it on?thanks,m
       · did you ever find the code?
       · I was also unable to find the code you referred to on page 3. Am I overlooking...
       · No, I never heard from the author nor have I ever found the source code....
       · This Topic does not provide stifaction for the reader. It's doesn't contain complete...
       · Haha, the code is in the article without the html characters being escaped so it...
       · Hopefully this works. You can also view source to see it.


     

    DATABASE CODE ARTICLES

    - Deployment of the MobiLink Synchronization M...
    - MobiLink Synchronization Wizard in SQL Anywh...
    - Finding Matching Records in Data Access Pages
    - Using the AccessDataSource Control in VS 2005
    - A Closer Look at ADO.NET: The Command Object
    - A Closer Look at ADO.NET: The Connection Obj...
    - Using ADO to Communicate with the Database, ...
    - Code Snippets: Counting Records
    - Constraints In Microsoft SQL Server 2000
    - Multilingual entries into a DB and to be dis...
    - Getting A List of Tables From SQL Server
    - SQL Server Database Creator - .NET Version
    - ADO Recordset Paging
    - Two combos, one textbox example
    - Discussion & Listserv Module by Mike Eck...

    BlackBerry VTS




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway