how to acess value from webmethod using jquery

Posted by Klbaiju under jQuery on 4/20/2015 | Points: 10 | Views : 496 | Status : [Member] | Replies : 0
Hi ,

my application contains a webmethod and that webmethod contains an integer value like this

[WebMethod]
public static Address[] ViewAddress(string id)
{

string msg;
string id1 = id.Trim();
BAL objBal = new BAL();
List<Address> details = new List<Address>();
DataSet ds = objBal.ViewAddress(id1, out msg);
int count = ds.Tables[0].Rows.Count;


}

my requirement is to retrieve the integer value count using jquery

How it is possible.

regards

Baiju




Responses

(No response found.)

Login to post response