ASP.NET 3.5 ProfessionalsIf you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I have a web service to display the weather forecast of cities. How can I use this web service from a aspx page. In the aspx page I will have a dropdown of cities from where I will choose the particular city whoose weather I require.
A small addition to this. From the web service I have to populate the dropdown which will contain the list of cities in ascending order. Any code reference on this is welcome.
hi,
you just need to add web reference to your web application,then in your aspx page ,you can call the webservice methtod by passing your city as the parameter ,That is it!