Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
byte[] Download_Rpt_Insitut_info(int Inst_ID) { using (UOSEntities db = new UOSEntities()) { Microsoft.Reporting.WebForms.LocalReport rpt = new Microsoft.Reporting.WebForms.LocalReport(); rpt.ReportPath = Server.MapPath(@"~/Aff_Reports/Rpt_Affi_Instu_Info.rdlc"); rpt.DataSources.Add(new ReportDataSource("AJ_Affi_Ins_Pop_Instu_Info", db.AJ_Affi_Ins_App_Instu_Info(Convert.ToInt32(Inst_ID)))); return(rpt.Render("PDF")); } }