how to pass Report Name, parameter & credential to ssrs Report from other webform in .net
<p>i am using vs2013 &amp; SSRS Report  2008R2 Advance Express Edition.
i have common reportviewer webform i.e</p>

<pre><code>    &lt;form id="CommonReport" runat="server"&gt;
    &lt;asp:ScriptManager ID="ScriptManager1" runat="server"&gt;&lt;/asp:ScriptManager&gt;
    &lt;rsweb:ReportViewer ID="RV" runat="server" Font-Names="Verdana" Font-Size="8pt" Height="464px" ProcessingMode="Remote" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="661px"&gt;
    &lt;/rsweb:ReportViewer&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/form&gt;
</code></pre>

<p>i want pass report name , parameter &amp; sql credential (i.e sql server Name,username &amp; Password) from other webform.</p>

<p>please help , i am  trying since on week.
i did the following code but it asking me username &amp; password , manulay i am typing but i need to pass programitcaly</p>

<pre><code> private void showReport()
    {
        string SSRS = ConfigurationManager.AppSettings["SSRS"];
        ReportViewer1.Reset();
        ReportViewer1.ProcessingMode = ProcessingMode.Remote;
        ReportViewer1.ServerReport.ReportServerUrl = new Uri(SSRS); ;// new Uri(urlReportServer); //Set the ReportServer Url
        ReportViewer1.ServerReport.ReportPath = "/sampleReport";
        ReportViewer1.ShowCredentialPrompts = true;
        ReportParameter reptParam = new ReportParameter("proposalId", proposalId.Text);
        ReportViewer1.ServerReport.SetParameters(reptParam);
        ReportViewer1.ServerReport.Refresh();

    }
</code></pre>