Click here to Skip to main content
13,150,539 members (38,060 online)
Click here to Skip to main content
Add your own
alternative version


13 bookmarked
Posted 9 Nov 2006

The Fast Input TextBox Control

, 9 Nov 2006
Rate this:
Please Sign up or sign in to vote.
Design time programming sample with fast input textbox control

Sample Image - fTextBox_image.gif


When I worked on AMSale project, my boss asked me to develop a control to speed up inputing. Such as, when you have to input bills, you have to input customer info and the problem is how to remember exactly the customer info. So I decide to write this to help inputing faster.

Background (optional)

I've read a source code in this code-project about a multi column combobox, and my control is based on that with some addition design-time programming skill I've show in this project to show how to use verbs, properties-design ...

Using the code

This control helps you to input faster and more exactly. To configure this control, you have to assign values for properties by code or in design mode.

Properties to configred : DataSource (must be on System.Data.DataTable Type), SearchField, KeyField.

SearchField : the control will use this field name to look up and return the text to TextBox.

KeyField     : this field holds the key value for represented item.

 // configure properties of control by code 
<CODE> this.fTextBox.DataSource = dataset11.person;
 this.fTextBox.KeyField = "id";
 this.fTextBox.SearchField = "Name";</CODE>

It's very simple, right?

Points of Interest



This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Le Nhat Quang
Architect Aquoz
Philippines Philippines
No Biography provided

You may also be interested in...


Comments and Discussions

GeneralRemark Pin
Balazs Zoltan10-Nov-06 3:19
memberBalazs Zoltan10-Nov-06 3:19 
GeneralRe: Remark Pin
LN Quang10-Nov-06 5:17
memberLN Quang10-Nov-06 5:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170924.2 | Last Updated 9 Nov 2006
Article Copyright 2006 by Le Nhat Quang
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid