Problem with Web Client
-
Sorry for my pure english. I have created the WEB service which works with database. It works well. Then I need to have access to this WEB service via IExplorer. So I create the WEB client application and form on its web-page. I send the ID value via this form to WEB service and get the answer to table below the form. I need to obtain the query result on new separate web-page. Question: How to do it?
-
Sorry for my pure english. I have created the WEB service which works with database. It works well. Then I need to have access to this WEB service via IExplorer. So I create the WEB client application and form on its web-page. I send the ID value via this form to WEB service and get the answer to table below the form. I need to obtain the query result on new separate web-page. Question: How to do it?
Presumably the first page is used to get all of the parameters to use the web service. On the first page use the Page.IsPostback method to see if details have been submited. Then do a Response.Redirect or Server.Transfer to the page you want to display the results in. In the url pass the values you want to use in your webservice in the querystring. E.g. Response.Redirect("MyPage.aspx?key1=" & TextBox1.Text & "&key2=" & DropDownList1.SelectedValue. In MyPage.aspx use those values to query the web service on that page (Use Request.Querystring("key1") etc). Jim