to Access URL in your windows application is some like this
first start a process to initiate the internet explorer like
System.Diagnostics.Process.Start("IExplore", "Pass your URL");
passing Parameters through URL like
string url = "http://localhost/reportserver?/" +
"AdventureWorks2012 Sample Reports/" +
"Company Sales&rs:Command=Render";
Total Code looks like
private void viewReportButton_Click(object sender, System.EventArgs e)
{
string url = serverUrlTextBox.Text + "?" + reportPathTextBox.Text +
"&rs:Command=Render" + "&rs:Format=HTML4.0";
if (toolbarCheckBox.Checked == false)
url += "&rc:Toolbar=False";
try
{
System.Diagnostics.Process.Start("IExplore", url);
}
catch (Exception)
{
MessageBox.Show(
"The system could not open the specified report using Internet Explorer.",
"An error has occurred", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}