Last post Feb 07, 2011 01:09 AM by cnranasinghe
Jan 31, 2011 02:05 PM|Traf King|LINK
Hi guys can anyone help me out with this rdlc report. I do not know why it get this error. Here is my code and the error message.
report1 = ReportViewer1.LocalReport;
report1.ReportPath = Server.MapPath(r.Replace(reportpath,
Feb 01, 2011 05:21 AM|cnranasinghe|LINK
It appears to be permissio issue. try applying everyone folder permissio to C sharp Apps folder
Feb 03, 2011 10:55 AM|Traf King|LINK
OK I did that and now all I see is the table design and the data is not being dsiplayed. I do not get any more errors but the data just do not display
Feb 07, 2011 01:09 AM|cnranasinghe|LINK
you need to fill the dataset by code behind which was used to design the report.
some thing like this
DataSet dsCreditNote = _CreditNote.GetCreditNoteByCreditNoteID(_CreditNoteID); //Create dataset
ReportDataSource _CreditNoteDataSource = new ReportDataSource();
_CreditNoteDataSource.Value = dsCreditNote.Tables; // attach the table
_CreditNoteDataSource.Name = "dsCreditNote_OS_CreditNote_SelCreditNoteByCreditNoteID"; // set datasource name