Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
celv
Starting Member
6 Posts |
Posted - 2015-05-07 : 08:10:08
|
need to show the data if i click the first letter using asp.net using c#i bind the data in dropdown list if i press a i need to show the data start from a'like a i pressambikaaniabi like this i need to show using dropdowncelv |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2015-05-07 : 08:44:17
|
Your where clause should beWHERE col like 'a%'MadhivananFailing to plan is Planning to fail |
|
|
Kristen
Test
22859 Posts |
Posted - 2015-05-07 : 15:08:10
|
Normally those sort of predictive-text dropdowns are set to a minimum of 3 characters before they provide any answers, to reduce the number of hits on the database. But other than that the query is as Madhi has described. |
|
|
|
|
|