Hi friend need you help again.i am tring to display the reprot from the report server but getting the error. Error is this :
A data source instance has not been supplied for the data source 'Adventurework_vProductAndDescription'. and my code is like this
-
-
using System;
-
using System.Data;
-
using System.Configuration;
-
using System.Collections;
-
using System.Web;
-
using System.Web.Security;
-
using System.Web.UI;
-
using System.Web.UI.WebControls;
-
using System.Web.UI.WebControls.WebParts;
-
using System.Web.UI.HtmlControls;
-
using Search.Searching;
-
namespace Search
-
{
-
public partial class RenderReport : System.Web.UI.Page
-
{
-
protected void Page_Load(object sender, EventArgs e)
-
{
-
if (!Page.IsPostBack)
-
{
-
-
ReportViewer1.ServerReport.ReportServerUrl = new Uri(Global.ReportServer.ToString());
-
ReportViewer1.ServerReport.ReportPath = Global.ReportPath + Request["/path"];
-
-
-
}
-
}
-
}
-
}
-
-
Please help me out with this probelm becuase i tried so many days to sloved it but i can't i know i am missing some kind of code what don't know what it is please help me