PDA

View Full Version : استفاده از SubReport در ReportViewer



Masoud_Sa
چهارشنبه 23 تیر 1389, 22:15 عصر
با سلام به همه دوستان .
چطوری می تونم از یک SubReport در ReportViewer یا همان گزارش RDLC استفاده کنم .
البته یک SubReport گذاشتم توی ریپورتم گذاشتم ولی این خطا رو میده :
Error 1 The ReportName for the subreport ‘subreport1’ is not valid. A ReportName can not be an empty string or just whitespace. E:\Visual Studio Projects\Sara7ProjectReport\Sara7ProjectReport\Rep ort1.rdlc Sara7ProjectReport
ممنون میشم کمک کنید .:متفکر:

roza arman
چهارشنبه 06 مرداد 1389, 11:43 صبح
با سلام به همه دوستان .
چطوری می تونم از یک SubReport در ReportViewer یا همان گزارش RDLC استفاده کنم .
البته یک SubReport گذاشتم توی ریپورتم گذاشتم ولی این خطا رو میده :
Error 1 The ReportName for the subreport ‘subreport1’ is not valid. A ReportName can not be an empty string or just whitespace. E:\Visual Studio Projects\Sara7ProjectReport\Sara7ProjectReport\Rep ort1.rdlc Sara7ProjectReport
ممنون میشم کمک کنید .:متفکر:


سلام
براي رفع اين مشكل بايد در قسمت Properties همون Sub Reportet گزينه Report Name رو نام ريپورت اصليت قرار بدي. اينجوري اين خطا رفع ميشه. ولي اينكه چطور توي Report Viewer نمايش داده بشه رو ديگه خدا ميدونه!!:D
اگه كسي راه حلشو يافت به ما هم بگه! مرسي