I created a webservice that takes casenum as input and gives results as a dataset in an XML.
I could make a web client to display the resulting dataset in a grid view. Pls see my code copied below.
Now I want to create a console client that takes the casenum as input, to call the webservice and saves the resulting xml for further processing, but can't figure out how to just capture the xml to save. Here's the code for my web client. I would appreciate if you could help modify this tocapture the resulting xml to save file locally.
public partial class _Default : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
private void BindDataToGrid(string CaseNum)
FG_Results results = new FG_Results();
DataSet ds1 = new DataSet();
ds1 = results.Get_FG_Results(CaseNum);
GridView1.AutoGenerateColumns = true;
GridView1.DataSource = ds1.Tables;
protected void GetResults(object sender, EventArgs e)
View Complete Post