solution1368
asked on
webservices
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.WebMe thodAttrib ute(), System.Web.Script.Services .ScriptMet hodAttribu te()]
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,St ringCompar ison.Curre ntCultureI gnoreCase) select m).Take(count).ToArray();
}
how can I do that with webservices?
string[] partNos = { "partno1", "partno2","partno3", "partno4" };
[System.Web.Services.WebMe
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,St
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.