Thanks friend, i made a whole system project in .NET 8 and i was worried that i have to do everything again in .NET 4 just to be able to use a viewer report. You save my project and a lot of my time, thank you again :)
Muchas gracias, varios días buscando información y viendo videos y al fin encontre este video de reportes para .net 6. Muchas gracias por tu aporte se que tu explicación es un idioma diferente al mio pero lo entendi a 100% muchas gracias. ❤
Thank you. This was very helpful. I thought perhaps Microsoft would have fixed the issues by now. Unfortunately, the latest version still requires us to use the work arounds that you provided in this video. And they do work! :)
Can you please create video How we can bind data in report using Object Data source? in .NET 6 window application? or do you have any reference links or videos for the same?
there is a video explaining that in the free course on my channel, it uses Bold Report designer from Syncfusion which is free if you make less than 1 million $ yearly, but some users said it was difficult to get, so just try it, if it didn't work out tell me and i will add another approach
@@ahmadkelany Data Source type is working fine in 4.8 framework, But in .net 6 Windows form it is not showing the Class file in Object Binding Wizard. If it is in same dir and same project. Please check if you have done this or could help me on this.
@@vashumakwana699 I found that I didn't make a video about this in the course 😅 I will add it within the week Inshallah, I already recorded half of it, and the recording of the second half was spoiled, I will re-record it and publish it within few days Inshallah
I generally advice against directly connecting the report to the database, I find using models in-between them a better approach that saves me a lot of headache when I need to modify the data. There is a video here in my Arabic channel: th-cam.com/video/VBjH9utJBnM/w-d-xo.html The video is in Arabic, but it is possible to follow along, Soon Inshalla I will add the English version to this channel.
I was doubtful this would work because 9 times out of 10 solutions uploaded to TH-cam don't, but this is the 1time in 10 that someone posted a solution that actually works.👌👌👌. I think if you dock fill into a container you can do the resizing and positioning on the container, but in any case your solution works. Thanks. Works for NET 7.0 as well
Thanks bro. for slow explanation, it's easy to understand. I think u r from Egypt if I'm not wrong. keep uploading new videos on .Net Core, i need video on databinding topic for Datagridview, textbox, checkbox like controls.
@@ahmadkelany Sorry to ask, but i cant load de rdlc with objects, when i trie to do it, it shows me the next message: "Object reference not set to an instance of an object". Any ideas?
@@franciscopaez3457 it has been broken since vs 2019 and maybe earlier.. and I don't think Microsoft will fix it any time soon.. You have 3 options to add your dataset and datasources: 1. directly through XML, this is the most difficult approach and requires intimate knowledge with RDLC schema, but requires no third-party software. 2. use Microsoft Report builder. 3. use Bold RDLC stand-alone designer provided by Syncfusion
You're welcome, I am glad it helped, There are two ways to use the data: 1. bind to the database directly (I don't recommend it) 2. set the table's datasource's value to a collection of objects. Soon I will make a video to detail the process inshalla
what does your project target currently? If it is targeting .Net Core 3 or 3.1 or 5, you just need to go to project settings and change the target from there to .Net 6 If it is targeting .Net Framework (e.g.: 4.8), you can use .Net Upgrade Assistant, here is a video covering the process: th-cam.com/video/L5Fy1-CTCLo/w-d-xo.html A VERY IMPORTANT WARNING: It is highly possible that the upgrade process will break some (maybe a lot) of your code, depending on what libraries you are using and whether or not they are supported by .Net 6, so you should back up you project to another location before trying to upgrade it, in case things didn't go well..
If everything works fine in debug mode, just make sure to UN-CHECK the trim un-used code and the produce single file and the enable ready to run options in the publish profile, because they are incompatible with the reporting library.
I have began the course and added today the video about WPF targeting .Net 6, you can find it here : th-cam.com/play/PLo_rV1nU1M_JdkBGJG4cl0-yAx1g9jA5k.html Your feedback on the video will be greatly appreciated :)
Thank you very much, excellent contribution. I could not find how to solve this matter and after much research the only solution is the one you indicate here. thanks thanks... ... I suppose that to date this issue has not yet been solved from Microsoft, right?
@@pako_tube6898 There is a new nuget package published by Microsoft by the name: Microsoft.ReportingServices.ReportViewerControl.Winforms try adding it to your project then restarting visual studio
@@ahmadkelany thank you for your help but the problem is not solved yet, I've been looking for a solution for more than 10 days now. Now I am looking for a solution to convert my project to .Framwork.
Excuse me I use VB.NET But my ReportViewer Error "An error occurred during local report processing. The report definition for report 'Report1' has not been specified Object reference not set to an instance of an object" I do not why Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load ReportViewer1.LocalReport.ReportEmbeddedResource = "WinFormsApp1.Form1.ReportDefinitions.Report1.rdlc" ReportViewer1.RefreshReport() End Sub can you tell me what to do?
@@ahmadkelany Thank you I do not why Report1 cannot in use ReportDefinitions Report1 moved to directory everything is fine ReportViewer1.LocalReport.ReportEmbeddedResource = "WinFormsApp1.Report2.rdlc"
in the toolbox I am not getting the Report Viewer control. When I try to add, I am getting this error. make sure the controls to add are compatible with the current designer and .net framework version. for ReportViewer. I am using WPF project in .Net 7.0 version
💫💫 Check out my new RDLC course here : th-cam.com/play/PLo_rV1nU1M_JdkBGJG4cl0-yAx1g9jA5k.html 💫💫
First time I have ever needed to create a report in Visual Studio. This is exactly what I needed. Thanks a bunch.
You're welcome 😊
I am glad it helped.
Thanks friend, i made a whole system project in .NET 8 and i was worried that i have to do everything again in .NET 4 just to be able to use a viewer report.
You save my project and a lot of my time, thank you again :)
You're welcome my friend,
I am glad it was helpful 😊
Many thanks!
I was having trouble making the ReportViewer appear and I didn't understand what was wrong.
Thank you from Brazil!
You're welcome brother,
I am glad it was helpful.
Thank you for the way of using "ReportEmbeddedResource"
and also adding ReportViewer to the Controls Collection of Form... . 🙏
You're welcome, I am glad it was helpful 💐💐
Thankyou for writing another great set of instructions for RDLC. It is the best information I have seen.
You're welcome Steven,
and thanks for your kind words, it means a lot to me
Muchas gracias, varios días buscando información y viendo videos y al fin encontre este video de reportes para .net 6. Muchas gracias por tu aporte se que tu explicación es un idioma diferente al mio pero lo entendi a 100% muchas gracias. ❤
You're welcome brother, I am glad it was helpful 💐💐
thank you, you have saved my university life
You're welcome
I am glad it helped.
ربنا يكرمك بقالي ساعتين بحاول افهم ايه المشكلة العندي و الفيديو وضح كل حاجة❤
و إياكم يا رب يا أخي الكريم
ربنا يوفقك دايما 💐💐
Thank you. This was very helpful. I thought perhaps Microsoft would have fixed the issues by now. Unfortunately, the latest version still requires us to use the work arounds that you provided in this video. And they do work! :)
you're welcome,
I'm glad it's working..
I hope one day Microsoft will fix it
great tutorial also you are more fluent in English than me. Keep the RDLC stuff going
Thanks for your kind words,
I am really glad it was helpful.
اشكرك بعمق كم كنت ببحث على الريبورت فيور على الدوت نيت6 ، الان استطيع استخدام فيجول استيديو 2022 بارياحية تامه
عفوا يا أخي
Thank you and Excellent expiation to start with basic reports in .NET 6 Windows app. :)
You're welcome,
I am glad it helped. 💐
Your English is good man. Thanks for the solution!
بارك الله فيك على الشرح والتوضيح
وبارك فيك يا أخي الكريم
Great job man. Helped me lot.
You are legend, thank you.
thanks for your kind words,
i am glad it helped 😊
Excellent video. The little tricks are very useful.
You're welcome, I am glad it was useful.
Can you please create video How we can bind data in report using Object Data source? in .NET 6 window application? or do you have any reference links or videos for the same?
there is a video explaining that in the free course on my channel, it uses Bold Report designer from Syncfusion which is free if you make less than 1 million $ yearly, but some users said it was difficult to get, so just try it, if it didn't work out tell me and i will add another approach
@@ahmadkelany Data Source type is working fine in 4.8 framework, But in .net 6 Windows form it is not showing the Class file in Object Binding Wizard. If it is in same dir and same project. Please check if you have done this or could help me on this.
@@vashumakwana699
I found that I didn't make a video about this in the course 😅
I will add it within the week Inshallah,
I already recorded half of it, and the recording of the second half was spoiled, I will re-record it and publish it within few days Inshallah
@@vashumakwana699
Here it is:
th-cam.com/video/ause26KdJ-I/w-d-xo.html
I hope it helps 😊
@@ahmadkelany Thanks
Thank you my friend, you really helped me a lot, greetings from Peru
I am glad it helped 😊
Good job...
Thanks..
Is there an example to fill a table from a database?
I generally advice against directly connecting the report to the database, I find using models in-between them a better approach that saves me a lot of headache when I need to modify the data.
There is a video here in my Arabic channel:
th-cam.com/video/VBjH9utJBnM/w-d-xo.html
The video is in Arabic, but it is possible to follow along,
Soon Inshalla I will add the English version to this channel.
very helpful, 10:07 this is what i looking for, Thanks!!!
You're welcome,
I'm glad it helped.
Please
Can tout help to do same think with crystal reports.
Thanks
Wonderful content. Keep on doing good sir!!
Thanks for kind words, I am glad it's helpful
Thank you! It was a great starting point for me.
Wonderful !!! Subscribed to your channel 🙂
Thanks, I am glad it was helpful.
I was doubtful this would work because 9 times out of 10 solutions uploaded to TH-cam don't, but this is the 1time in 10 that someone posted a solution that actually works.👌👌👌.
I think if you dock fill into a container you can do the resizing and positioning on the container, but in any case your solution works. Thanks. Works for NET 7.0 as well
Thanks for your kind words,
I really appreciate it 💐
this was very helpful. thanks!
Thank you very much. Never thought that one needs to manually manipulate it.
You're welcome Willie,
I am glad it helped.
Someone help me? i create application in .net 6.0 but maybe bad type and i dont have control reportviewer and i cant add to my wpf mirror
please check the WPF section in the RDLC course playlist available in the channel, and pinned in the comments here also.
Thanks bro. for slow explanation, it's easy to understand. I think u r from Egypt if I'm not wrong. keep uploading new videos on .Net Core, i need video on databinding topic for Datagridview, textbox, checkbox like controls.
You're welcome brother,
Yes, I am from Egypt 😊
Inshalla I will do my best.
Waooo This is awesome. Thank you so so much
Thanks for your kind words, I am glad it helped
Great tutorial. Thank you so much sir. love from bangladesh
You're welcome brother,
I am glad it helped
Thanks for this, it solved my problem
You're welcome, glad it helped.
You saved my life. Thank you so much
I am glad it helped you, you're welcome
man i am really thankfull for this video, u save me bro. Thanks
I am glad it helped 😊
@@ahmadkelany Sorry to ask, but i cant load de rdlc with objects, when i trie to do it, it shows me the next message: "Object reference not set to an instance of an object". Any ideas?
@@franciscopaez3457
Do you mean by adding objects through the "add dataset " UI wizard ?
@@ahmadkelany exactly
@@franciscopaez3457
it has been broken since vs 2019 and maybe earlier.. and I don't think Microsoft will fix it any time soon..
You have 3 options to add your dataset and datasources:
1. directly through XML, this is the most difficult approach and requires intimate knowledge with RDLC schema, but requires no third-party software.
2. use Microsoft Report builder.
3. use Bold RDLC stand-alone designer provided by Syncfusion
Thank you for your efforts.
You're welcome,
I am glad it helped
Is this problem of adding the report viewer control not yest resolved?
As far as I know, it is not resolved yet.
thanks you, your help is very good.
You're welcome,
I am glad it was helpful.
Thank you for the tutorial,
but how to use data in report view core?
You're welcome, I am glad it helped,
There are two ways to use the data:
1. bind to the database directly (I don't recommend it)
2. set the table's datasource's value to a collection of objects.
Soon I will make a video to detail the process inshalla
Thank you very much, i was stuck trying to solve this issue but i found the solution here. 👍👍👍
you're welcome, I'm glad it helped 😊
Hi. is it still useful in .net
Dear bro how can i change my .Net project version to .Net 6, I have reached more, and did not get
what does your project target currently?
If it is targeting .Net Core 3 or 3.1 or 5, you just need to go to project settings and change the target from there to .Net 6
If it is targeting .Net Framework (e.g.: 4.8), you can use .Net Upgrade Assistant, here is a video covering the process:
th-cam.com/video/L5Fy1-CTCLo/w-d-xo.html
A VERY IMPORTANT WARNING:
It is highly possible that the upgrade process will break some (maybe a lot) of your code, depending on what libraries you are using and whether or not they are supported by .Net 6,
so you should back up you project to another location before trying to upgrade it, in case things didn't go well..
.net Framework 4.8
you did a great job bro tnks...
Thanks for your kind words brother, you're welcome
Good , example worked
Thanks, I am glad it helped.
please help me i have a problem after publish error BC31519 'my application path ' cannot be refranced becuase it is not valid
If everything works fine in debug mode, just make sure to UN-CHECK the trim un-used code and the produce single file and the enable ready to run options in the publish profile, because they are incompatible with the reporting library.
@@ahmadkelany Thank you very much . Everything works now.
May God bless you
Gracias. Thank you vety much From MExico
De nada amigo,
I am glad this was helpful
Thank you very much for your tutorial. Can u Do WPF Please
you're welcome 😁
WPF tutorial is high on my priorities list
I have began the course and added today the video about WPF targeting .Net 6,
you can find it here : th-cam.com/play/PLo_rV1nU1M_JdkBGJG4cl0-yAx1g9jA5k.html
Your feedback on the video will be greatly appreciated :)
Great job!! Thx!
Thank you very much, excellent contribution. I could not find how to solve this matter and after much research the only solution is the one you indicate here. thanks thanks...
... I suppose that to date this issue has not yet been solved from Microsoft, right?
Thanks for your kind words,
Yes, it has not been solved to date unfortunately.
muchas gracias, Dios te bendiga.
de nada mi amigo
Dios te bendiga a ti tambien
Great video, can U help me with a problem please? When I create a rdlc file VS2022 get stuck in "Opening file" and crashes, what can I do?
You might need to repair your VS installation.
Parabéns !!!, me salvou
de nada amigo
Thank you very much.
You are welcome!
thanks bro!!
You're welcome,
I am glad it helped.
Thanks a lot
You're welcome,
I am glad it helped.
I follow you exactly what do you do but I haven't a reportViewer in my ToolBox , My I forget any thing?, please help
Are you sure you added the correct Nuget Packages ?
What .Net are you targeting?
and what are the nuget packages you installed ?
@@ahmadkelany
.Net6 and NuGet: ReportViewerCore.Winforms ver 15.1.17, other things I work with Windows8, chokran for your reply
@@pako_tube6898
There is a new nuget package published by Microsoft by the name:
Microsoft.ReportingServices.ReportViewerControl.Winforms
try adding it to your project then restarting visual studio
@@ahmadkelany
thank you for your help but the problem is not solved yet, I've been looking for a solution for more than 10 days now. Now I am looking for a solution to convert my project to .Framwork.
@@pako_tube6898
Please try repairing your VS 2022 installation first :
like this: th-cam.com/video/nEj2Ka_NxYc/w-d-xo.html
Thanks🎉🎉🎉
Welcome 😊
يا رجل يا ريتك شرحت بالعربي :)
على اي حال شكرا
وبارك الله فيك
هههههه الفيديو كان استجابه لطلب صديق اجنبي و كذلك السابق له
انا بجهز اعمل بلاي لست بالعربي تفصيلية .. بس محتاجة تجهيز شوية بحيث تغطي الموضوع بشكل جيد
نزلت الشرح بالعربي :)
تقدر تلاقيه هنا : th-cam.com/play/PLiCAeYs_bX0uZr4uoJuSttyrPbVa_qY4u.html
Thanks bro
You're welcome, glad it helped.
Thanks a loooooooooooooooot man ;)
You're welcome, glad it helped.
gracias
De nada amigo
save me a couple of nerve crisis
يا ريت لو عملت الفيديو بالعربي
شغال على سلسلة كاملة بالعربي بإذن الله
بس مش عاوز انشرها الا لما تكتمل
@@ahmadkelany بارك الله فيك....و الله المحتوى العربي ضعيف جدا...يحتاج امثالك
XD
Excuse me
I use VB.NET But my ReportViewer Error "An error occurred during local report processing. The report definition for report 'Report1' has not been specified Object reference not set to an instance of an object"
I do not why
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
ReportViewer1.LocalReport.ReportEmbeddedResource = "WinFormsApp1.Form1.ReportDefinitions.Report1.rdlc"
ReportViewer1.RefreshReport()
End Sub
can you tell me what to do?
it's not logical for the form name to be included in the namespace of the report
so change that line to omit the Form1 like this:
ReportViewer1.LocalReport.ReportEmbeddedResource = "WinFormsApp1.ReportDefinitions.Report1.rdlc"
@@ahmadkelany Thank you
I do not why
Report1 cannot in use ReportDefinitions
Report1 moved to directory
everything is fine
ReportViewer1.LocalReport.ReportEmbeddedResource = "WinFormsApp1.Report2.rdlc"
@@Albert-mn3fc Thanks for this part,
in the toolbox I am not getting the Report Viewer control. When I try to add, I am getting this error. make sure the controls to add are compatible with the current designer and .net framework version. for ReportViewer. I am using WPF project in .Net 7.0 version
Check out this demo:
th-cam.com/video/4eOAtr3S8Bw/w-d-xo.html