AutoComplete from SQL Server DB using C# in ASP.Net
I try AutoComplete dropdown using C# code. Can I do without using AJAX. Or must use AJAX. How could I d开发者_运维百科o? Can I use like that?
public string[] GetCompletionList(string prefixText, int count, string contextKey)
{ ... }
you must use Ajax
because without it you will reload your page for every key stroke. You can use JQuery plugin
called Autocomplete
or make your Ajax
call.
you can find autocomplete
here http://docs.jquery.com/UI/Autocomplete
精彩评论