I want to partNos information came from the database.
how can I do that with webservices?

string[] partNos = { "partno1", "partno2","partno3", "partno4" };

[System.Web.Services.WebMethodAttribute(), System.Web.Script.Services.ScriptMethodAttribute()]
    public static string[] GetCompletionList(string prefixText, int count, string contextKey)
        string[] partNos = { "partno1", "partno2","partno3", "partno4" };
        return(from m in partNos where m.StartsWith(prefixText,StringComparison.CurrentCultureIgnoreCase) select m).Take(count).ToArray();
Who is Participating?
Bob LearnedConnect With a Mentor Commented:
Where would you like to start?  That is a pretty broad question...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.