ArticlesReader.com Menu
Newest Articles
Most Viewed Articles
ArticlesReader.com RSS
Submit Article
Login
Signup
Search the articles

Articles Main Categories
Advice
Animals
Automobiles
Business
Career
Communications
Computer Programming
Computers
Entertainment
Environment
Family
Fashion
Finance
Food
Health & Medical
Home & Garden
Humor
Internet Business
Internet Marketing
Legal
Leisure & Recreation
Marketing
Other
Politics
Reference & Education
Religion
Self Improvement
Sports
Technology & Science
Travel
Writing
Subscribe
Receive alert message from us when new articles submitted to our site for free.

Enter your name

Enter your email

Syndicate

















Related Products
Home::Technology & Science

DbCombo

Author : Rick Barber
If you have ever tried loading a large number of records into a drop down box you know that this can significantly slow down the page. A great solution is DbCombo (www.dbcombo.com). DbCombo is a managed ASP.Net control that uses a datasource to auto complete and display matching results in a drop-down box without using a page postback.

The data is provided from the datasource dynamically so you can virtually have an unlimited number of results returned. This is all done without sacrificing the speed of your application. Can you imagine loading 100,000 records into a standard box? It is virtually impossible but DbCombo can easily handle this and it's literally done in a matter of seconds.

If you have visitors that use your site with older browsers there is no need to be concerned about compatibility. DbCombo gracefully degrades to HTML 3.2 on older browsers without losing any functionality. In the degraded state a postback is necessary but it all happens dynamically without having to write additional code.

For the advanced developer DbCombo contains over 40 properties. There are also numerous JavaScript functions that allow you to interact with DbCombo on your page and do things like easily get the selected text or reset the control. These properties and functions allow the component to be easily customized for a variety of needs.

DbCombo is easy enough to use that even casual developers can incorporate it into their site and it only takes a small amount of code to get it working. Here's a simple example of how to include this powerful control in your page.

First you need to create a file called DbComboServer.aspx and place it in the root of your site or application. This file is needed in order for DbCombo to work properly and is in addition to the page(s) that you are going to actually use DbCombo on. Delete anything from the file that might have been automatically generated from your editor and replace it with the following:

<%@ Page AutoEventWireup="false" Inherits="Cambro.Web.DbCombo.ServerPage" %>

Important: The above line is the only thing that should be in that file. If your editor created a code behind page for DbComboServer.aspx you can also delete that. It isn't used or needed.

Next you need to ensure that DbCombo will work on the production server. Add the following inside the tag of your web.config and replace REGISTRATION KEY with the one you were provided. If you are testing locally on your development machine you can leave this as is or leave the registration key blank.





If you happen to have a hosting provider that provides the license key already, you don't need to add this to web.config. ORCS Web (www.orcsweb.com) provides dbcombo at no charge for all shared hosting accounts so it isn't necessary to add this to your web.config. The component along with the .xml file also needs to be uploaded to the /bin folder of the site. If your site is hosted with a hosting company they can place these files into your /bin folder for you.

At the top of the page where you are going to use DbCombo, you need to add the following lines:

<%@ Register TagPrefix="DbCombo" Namespace="Cambro.Web.DbCombo"
Assembly="Cambro.Web.DbCombo" %>
<%@ Import Namespace="System.Data.OleDb" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<%@ Import Namespace="System.Data" %>

Add the following between the tags of the page to add a Server Method. Make sure you change the connection string and query to reflect your settings as indicated in the comments below.



Add the following to place an instance of DbCombo wherever you desire on the page: Note: Since this is an ASP.Net component it needs to be inside of a
tag.



You now have a functioning DbCombo control on your page. You should install the latest version on your development machine to test with before uploading it to a live production server. You can get the latest here: http://www.dbcombo.com/download.aspx. The download includes over 15 various demos and tutorials along with a comprehensive help file and a user manual. The manual is thorough and includes code samples in VB.Net and C# to get you up to speed quickly.

Rick Barber is a support specialist with ORCS Web, Inc. - a company that provides managed hosting services for clients who develop and deploy their applications on Microsoft Windows platforms.

About the Author

Rick Barber is a support specialist with ORCS Web, Inc. - a company that provides managed hosting services for clients who develop and deploy their applications on Microsoft Windows platforms.

Spam emails More free articles

Related articles


  1. Lighter Than Air Tubular Flight
  2. Tunneling Concepts for Advanced Warfare
  3. Laser Attack, EA, Scalar Attack on Composite Manufactured Vehicles
  4. How to Build a Mechanical Bullet Which Turns
  5. Shamans and Their Documented Abilities
  6. Weather Control and Creation to Use as a Screen for Troop Advancement
  7. Building a Single Unit CO2 Laser Grid
  8. Military Convoy Artificial Tubes for Safe Travel
  9. Organic Decoy Devices for Warfare (ODDW)
  10. Down Scrolling Text to Find Patterns
  11. Human Motion, Walking, Running and Gait for Identification
  12. Aluminum Oxide to Disrupt Laser Weapons
  13. Preventing Death in a Bio Threat
  14. Re-Designing the ICBM With The Latest and Greatest Technology
  15. Bio-Rhythm Disruption Frequency Identifier for Human Intentions
  16. 747 Onboard Laser Might Cause Mistake and Identity
  17. Active Aerial Minefields
  18. Free Energy from Space
  19. Micro Blimps Cleaning the Air in Buildings to Eliminate Anthrax spores
  20. Surround Panoramic Night Vision is Possible
  21. Confusing MAV Optic Flow Sensors In flight Using Mobiles
  22. MAV Propulsion and Testing
  23. UAV - Terrain Following Technologies
  24. MAVs, UAVs, and Insect Flight Characteristics
  25. Para Trooper Gliders With Angle of Attack Motor or Crank
More related feeds
MTB DB Combo Session
3. Conditioning. Combo Drill: A Weight used: 2 x 6kg DBs Time (on/off) x rounds: (2:15/2:00) x 3. Rotations per round achieved: 4/4/3.75. This session is from the MTB Strength Training System at www.mtbstrengthcoach.com.

MTB DB Combo Session
3. Conditioning. Combo Drill: B Weight used: 2 x 5kg DBs Time (on/off) x rounds: (2:00/1:00) x 3. Rotations per round achieved: 3.5. This session is from the MTB Strength Training System at www.mtbstrengthcoach.com.

MTB DB Combo
Mobility/Warmup. Strength. 2 x 7.5kg DBs. Set 1. 5 reps Set 2. 3 reps. Conditioning. Combo Drill A. 2 x 5kg DBs. (2min on/1:15min off) x 3. 3.5 rotations per round.

Visual Basic Interview Questions(81-90)
Ex:- Textbox, Check Box, Picture Box, Image Control, Label, List box, Combo Box, DB Combo,. What methods are used for DBGrid in unbound mode? AddData, EditData, Readdata, WriteData. What is ADO? What are its objects ? ...

Calibra RacerDB Sound System
calibra racer db combo. It’s been a long time since we put together a car sound combo, this week we feature the Calibra RacerDB Sound System. Exclusively put together by Calibra for Autostyle Motorsport, the RacerDb system puts out some ...

True DBCombo looks like lost the first column
Hallo,. I use the TDBCombo (True DBList Pro 8.0) in VB 6 (SP 6) with 2 Columns. It works normaly good, but when it opened for second or third time, the first column isn't visible. What can I do? Thanks.

Visual Basic Interview Questions and Answers
Box, DB Combo,. What methods are used for DBGrid in unbound mode? AddData, EditData, Readdata, WriteData. What is ADO ? What are its objects ? ActiveX Data Object. ADO can access data from both flat files as well as the databases. ...

WOs in Ludhiana (PB) India- June 9th
Open- Create- 2 sets of 6-8 of 2nd DB combo TGU/Windmill/Swing/Squat press 2 sets of DB combo 1- bent rows/swings/squat press used 12 Kg DBs Release-

vbquestions
Ex:- Textbox, Check Box, Picture Box, Image Control, Label, List box, Combo Box, DB Combo, 4. What are two validate with Data Control?Data_Validate, Data_Error. 5. Record set types and Number available in VB?3. 1- Dynaset, 0 – Table, ...

0 - mostly boring stuff
and my order is in for the sound system Calibra Racer DB Combo. and i'm giving serious thought to selling my desktop and laptop to get this HDX. personal news? so after the family eruption at dinner last night everyone was much better, ...

 


 

© 2007 articlesreader.com - All Rights Reserved