I went through all this and got this error when I run the .aspx page-
Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
I am using VS 2010. Does it make any difference because the author has written wrt VS 2005.
Also, I am getting red-underlines in the code behind page 'Default.aspx.cs' below 'ReportViewer1' , 'DropDownList1' and 'lblMessage'. What kind of error are these. Names definitely matches to the controls.
Member
174 Points
331 Posts
Report Viewer not working
Jun 28, 2012 06:08 AM|girizh|LINK
Hi,
I just started working with ReportViewer controls with http://www.codeproject.com/Articles/15597/Using-the-ASP-NET-2-0-ReportViewer-in-Local-Mode
I went through all this and got this error when I run the .aspx page-
Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
I am using VS 2010. Does it make any difference because the author has written wrt VS 2005.
Also, I am getting red-underlines in the code behind page 'Default.aspx.cs' below 'ReportViewer1' , 'DropDownList1' and 'lblMessage'. What kind of error are these. Names definitely matches to the controls.
Where did I go wrong?
Thanks,
Mark As Answer if it helps you :)
Participant
1885 Points
510 Posts
Re: Report Viewer not working
Jun 28, 2012 10:34 AM|avinash_bhudke|LINK
Go through this tutorial on report-using-visual-studio-2010.
http://weblogs.asp.net/rajbk/archive/2010/05/09/creating-an-asp-net-report-using-visual-studio-2010-part-1.aspx
Hope it will help you to solve your problem.