Error 97 An object reference is required for the non-static field, method, or property
code
[System.Web.Services.WebMethodAttribute(), System.Web.Script.Services.ScriptMethodAttribute()]
public static string[] GetServicedetails1(string prefixText, int count, string contextKey)
{
\\hidden fields
if(hdncorparte.value = "corporate" && hdncredit.Value ="credit")
{
}
}
how to solve this
plz help me
Deepak SainiPosted Apr 3, 2015, 8:04 AM
you can't be send the any state management in your web service becoz u can only send the web service credentials for varification and some query string to get your data and you can manager your hidden fields in your page.send this hidden field value in query string and che.ck this parameter on your web service page .so enjoy