CS1026: ) expected
Posted on 2003-11-16
Can somewhere help me figure this error out -- "CS1026: ) expected"? I have a Crystal Reports object withing my aspx page, pointed to a .rpt file.
Here's the line that is throwing the error:
<cr:CrystalReportViewer id="objCRViewer" runat="server" width="1050px" height="1088px" reportsource="<%# C:\Chart.rpt %>" displaytoolbar="False" borderstyle="Solid" borderwidth="1px"/>
Here's some of the code-behind for the page:
protected CrystalDecisions.Web.CrystalReportViewer objCRViewer;
private void Page_Load(object sender, System.EventArgs e)
ReportDocument objReportDoc = new ReportDocument();
objCRViewer.ReportSource = objReportDoc;
Nothing to difficult, but it doesn't want to display. "Chart.rpt" is one of the samples that comes with VS.Net.
Thanks in advance