How To Consume A web service in html page

Posted by Bhanubysani under Regular Expressions on 5/18/2011 | Points: 10 | Views : 7282 | Status : [Member] | Replies : 1
Hi,

I have a Requirement.i want to display the data coming from database..for that i write a web service...

[WebMethod]
public DataSet GetHospitals()
{

da = new SqlDataAdapter("select Distinct category from ypinformation", constr);
return ds;
}

My problem is the coming data will be displayed in html page....how can consume web service in html page...how can i assign the dataset in html page to display the result....plz help me

Regards,
Bhanu Prakash Bysani



Responses

Posted by: Susanthampy on: 5/20/2011 [Member] [MVP] Bronze | Points: 25

Login to post response