Last post Jun 28, 2012 10:34 AM by avinash_bhudke
Jun 28, 2012 06:08 AM|girizh|LINK
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?
Jun 28, 2012 10:34 AM|avinash_bhudke|LINK
Go through this tutorial on report-using-visual-studio-2010.
Hope it will help you to solve your problem.