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. ❤
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 :)
I was doubtful this would work because 9 times out of 10 solutions uploaded to RUclips 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
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! :)
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.
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
@@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
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: ruclips.net/video/VBjH9utJBnM/видео.html The video is in Arabic, but it is possible to follow along, Soon Inshalla I will add the English version to this channel.
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: ruclips.net/video/L5Fy1-CTCLo/видео.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..
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
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.
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?
I have began the course and added today the video about WPF targeting .Net 6, you can find it here : ruclips.net/p/PLo_rV1nU1M_JdkBGJG4cl0-yAx1g9jA5k Your feedback on the video will be greatly appreciated :)
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"
@@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.
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 : ruclips.net/p/PLo_rV1nU1M_JdkBGJG4cl0-yAx1g9jA5k 💫💫
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.
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 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 💐💐
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 😊
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
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.
ربنا يكرمك بقالي ساعتين بحاول افهم ايه المشكلة العندي و الفيديو وضح كل حاجة❤
و إياكم يا رب يا أخي الكريم
ربنا يوفقك دايما 💐💐
I was doubtful this would work because 9 times out of 10 solutions uploaded to RUclips 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 💐
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
اشكرك بعمق كم كنت ببحث على الريبورت فيور على الدوت نيت6 ، الان استطيع استخدام فيجول استيديو 2022 بارياحية تامه
عفوا يا أخي
Your English is good man. Thanks for the solution!
بارك الله فيك على الشرح والتوضيح
وبارك فيك يا أخي الكريم
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.
Great job man. Helped me lot.
You are legend, thank you.
thanks for your kind words,
i am glad it helped 😊
Thank you and Excellent expiation to start with basic reports in .NET 6 Windows app. :)
You're welcome,
I am glad it helped. 💐
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 😊
Thank you my friend, you really helped me a lot, greetings from Peru
I am glad it helped 😊
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.
Thank you! It was a great starting point for me.
Excellent video. The little tricks are very useful.
You're welcome, I am glad it was useful.
Thank you very much. Never thought that one needs to manually manipulate it.
You're welcome Willie,
I am glad it helped.
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:
ruclips.net/video/ause26KdJ-I/видео.html
I hope it helps 😊
@@ahmadkelany Thanks
Great tutorial. Thank you so much sir. love from bangladesh
You're welcome brother,
I am glad it helped
very helpful, 10:07 this is what i looking for, Thanks!!!
You're welcome,
I'm glad it helped.
Wonderful content. Keep on doing good sir!!
Thanks for kind words, I am glad it's helpful
Wonderful !!! Subscribed to your channel 🙂
Thanks, I am glad it was helpful.
You saved my life. Thank you so much
I am glad it helped you, you're welcome
this was very helpful. thanks!
Gracias. Thank you vety much From MExico
De nada amigo,
I am glad this was helpful
Good job...
Thanks..
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.
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
Please
Can tout help to do same think with crystal reports.
Thanks
Thanks for this, it solved my problem
You're welcome, glad it helped.
Waooo This is awesome. Thank you so so much
Thanks for your kind words, I am glad it helped
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:
ruclips.net/video/VBjH9utJBnM/видео.html
The video is in Arabic, but it is possible to follow along,
Soon Inshalla I will add the English version to this channel.
thanks you, your help is very good.
You're welcome,
I am glad it was helpful.
Great job!! Thx!
Thank you for your efforts.
You're welcome,
I am glad it helped
muchas gracias, Dios te bendiga.
de nada mi amigo
Dios te bendiga a ti tambien
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:
ruclips.net/video/L5Fy1-CTCLo/видео.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
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
you did a great job bro tnks...
Thanks for your kind words brother, you're welcome
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
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.
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.
Good , example worked
Thanks, 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.
Hi. is it still useful in .net
Parabéns !!!, me salvou
de nada amigo
Thank you very much.
You are welcome!
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 : ruclips.net/p/PLo_rV1nU1M_JdkBGJG4cl0-yAx1g9jA5k
Your feedback on the video will be greatly appreciated :)
Thanks a lot
You're welcome,
I am glad it helped.
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,
يا رجل يا ريتك شرحت بالعربي :)
على اي حال شكرا
وبارك الله فيك
هههههه الفيديو كان استجابه لطلب صديق اجنبي و كذلك السابق له
انا بجهز اعمل بلاي لست بالعربي تفصيلية .. بس محتاجة تجهيز شوية بحيث تغطي الموضوع بشكل جيد
نزلت الشرح بالعربي :)
تقدر تلاقيه هنا : ruclips.net/p/PLiCAeYs_bX0uZr4uoJuSttyrPbVa_qY4u
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: ruclips.net/video/nEj2Ka_NxYc/видео.html
thanks bro!!
You're welcome,
I am glad it helped.
gracias
De nada amigo
Thanks🎉🎉🎉
Welcome 😊
Thanks bro
You're welcome, glad it helped.
Thanks a loooooooooooooooot man ;)
You're welcome, glad it helped.
save me a couple of nerve crisis
يا ريت لو عملت الفيديو بالعربي
شغال على سلسلة كاملة بالعربي بإذن الله
بس مش عاوز انشرها الا لما تكتمل
@@ahmadkelany بارك الله فيك....و الله المحتوى العربي ضعيف جدا...يحتاج امثالك
XD
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:
ruclips.net/video/4eOAtr3S8Bw/видео.html