Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 28th, 2004, 03:22 PM
Authorized User
 
Join Date: Aug 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default i need answers to develop my program

my program is developed for a Store, in which it contains products , with each product there is an id or code specified only for it.
what i need when the "data entry" or "User" begins to enter a code for some product - when he typing just first numbers of the code of the product- he gets a list of all other product code the begins with these few numbers, and it decreases by typing more numbers until the desired product code appear.
" this can be called Filter"

i need this list to be appeared even if we type only one number

for example:

for product a,b,c,d
where 1200,1204,1245,1320 ,respectively
so when i begin to write a code in " a textbox control" .
so if i type:

 1
i get all product in the list

 12
i get "1200,1204,1245" ,..etc.

I HOPE IT IS CLEAR FOR YOU
.





 
Old September 29th, 2004, 02:36 AM
Friend of Wrox
 
Join Date: Sep 2004
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Default

u can show a seprate list box next to your text box on the key press event and according the key get the all the matching values frm the database..." LIKE 'a%'"
This is tried.. and tested

 
Old September 29th, 2004, 12:42 PM
Authorized User
 
Join Date: Aug 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As "This is tried.. and tested"

please provide me with a sample code

 
Old October 7th, 2004, 07:06 AM
Friend of Wrox
 
Join Date: Feb 2004
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You cannot list in the TextBox control but you can do the same in ComboBox control which is a combination of "TextBox" Control where you can type in the values and "ListBox" control which displays the list.

For that you can find a nice article at the site

http://www.kbalertz.com/Feedback_319946.aspx


It is not how much we do,
but how much love we put in the doing.

-Mother Theresa





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to develop forum like this umesh chand ASP.NET 1.0 and 1.1 Basics 1 September 6th, 2008 09:01 AM
XML develop rashesh_shah XML 2 March 12th, 2008 03:52 AM
how to develop a new forum gaja ASP.NET 1.0 and 1.1 Basics 1 May 3rd, 2007 07:13 AM
Help to develop new portal mike_remember ASP.NET 1.0 and 1.1 Professional 4 November 7th, 2006 01:48 PM
Setup Project: Program not added in Start>Program arif_1947 VS.NET 2002/2003 2 March 31st, 2005 06:40 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.