C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » SQL Server »

manipulate data please help me helpme


Posted Date: 10 Jan 2009      Posted By: pernia khan      Member Level: Bronze     Points: 1   Responses: 4



hello every one please help me m new user
i have a project of data base consisting of word list i hav to create a website inter face on which user can enter k then k words can view in dropdown down list ki then all the words starting fron ki similarly kia then all the words starting from kia.then kial then all ther word hav kial or if l is not there the after l word should have displaye on list box..........please can any one tellme how can i implemant it.what query should i posed on database end(if itis possible on backend)or in asp.net application means frontend(if it is front end then please tell how can i do it at what can i do on database end) please help its very urgent please please please please please please please................................................its very urgent
regards
perniakhan





Responses

Author: Pascal    12 Jan 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

Can you please confirm whether its a dropdownlist or listbox? On page load you will be loading all the data and display it as the user types it right?


Author: Tejinder Singh Barnala    12 Jan 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

just go like that
create proc search(@data varchar(100))
as
select * from yourtablename where yourcolumnname like @data +'%'

hope it will help you

Many Thanks
Tejinder Singh Barnala
/*I have the simplest tastes. I am always satisfied with the best*/



Author: pernia khan    12 Jan 2009Member Level: BronzeRating: 2 out of 52 out of 5     Points: 0

actually its list box plzzzzzz explain me in detail


Author: Nitin Srivastava    12 Jan 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

please try to solve ur prob in three step.

First: Create a sp as script given by Tejinder Singh
Second : call this SP on the key down event of the text box.
Display the result of the SP in the list box.

Hope this way u can solve your prob.



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Problem in extracting feilds crystal report
Previous : please correct this procedure
Return to Discussion Forum
Post New Message
Category: SQL Server

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use