Displaying RDLC report in WinForms .Net 6 application Using Visual Studio 2022

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 151

  • @ahmadkelany
    @ahmadkelany  2 года назад +2

    💫💫 Check out my new RDLC course here : ruclips.net/p/PLo_rV1nU1M_JdkBGJG4cl0-yAx1g9jA5k 💫💫

  • @ace8526
    @ace8526 2 года назад +3

    First time I have ever needed to create a report in Visual Studio. This is exactly what I needed. Thanks a bunch.

    • @ahmadkelany
      @ahmadkelany  2 года назад

      You're welcome 😊
      I am glad it helped.

  • @ebertgarciaroque5107
    @ebertgarciaroque5107 11 месяцев назад +2

    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. ❤

    • @ahmadkelany
      @ahmadkelany  26 дней назад +1

      You're welcome brother, I am glad it was helpful 💐💐

  • @amiryazdanparast9827
    @amiryazdanparast9827 4 месяца назад +1

    Thank you for the way of using "ReportEmbeddedResource"
    and also adding ReportViewer to the Controls Collection of Form... . 🙏

    • @ahmadkelany
      @ahmadkelany  26 дней назад

      You're welcome, I am glad it was helpful 💐💐

  • @RafaelCosta-vm4os
    @RafaelCosta-vm4os 8 месяцев назад +1

    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 :)

    • @ahmadkelany
      @ahmadkelany  8 месяцев назад

      You're welcome my friend,
      I am glad it was helpful 😊

  • @stevensciberras2251
    @stevensciberras2251 2 года назад +1

    Thankyou for writing another great set of instructions for RDLC. It is the best information I have seen.

    • @ahmadkelany
      @ahmadkelany  2 года назад

      You're welcome Steven,
      and thanks for your kind words, it means a lot to me

  • @cesarantonio18
    @cesarantonio18 Год назад +2

    Many thanks!
    I was having trouble making the ReportViewer appear and I didn't understand what was wrong.
    Thank you from Brazil!

    • @ahmadkelany
      @ahmadkelany  Год назад

      You're welcome brother,
      I am glad it was helpful.

  • @abselrahmanahmed7434
    @abselrahmanahmed7434 11 месяцев назад

    ربنا يكرمك بقالي ساعتين بحاول افهم ايه المشكلة العندي و الفيديو وضح كل حاجة❤

    • @ahmadkelany
      @ahmadkelany  11 месяцев назад

      و إياكم يا رب يا أخي الكريم
      ربنا يوفقك دايما 💐💐

  • @gregchristos8954
    @gregchristos8954 2 года назад

    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

    • @ahmadkelany
      @ahmadkelany  2 года назад +1

      Thanks for your kind words,
      I really appreciate it 💐

  • @_Nguyenan
    @_Nguyenan Год назад

    thank you, you have saved my university life

    • @ahmadkelany
      @ahmadkelany  Год назад

      You're welcome
      I am glad it helped.

  • @LoriPerch
    @LoriPerch Год назад +1

    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! :)

    • @ahmadkelany
      @ahmadkelany  Год назад

      you're welcome,
      I'm glad it's working..
      I hope one day Microsoft will fix it

  • @topgamers9256
    @topgamers9256 Год назад

    اشكرك بعمق كم كنت ببحث على الريبورت فيور على الدوت نيت6 ، الان استطيع استخدام فيجول استيديو 2022 بارياحية تامه

  • @ismaelpolanconunez421
    @ismaelpolanconunez421 2 года назад +1

    Your English is good man. Thanks for the solution!

  • @ruaatech5410
    @ruaatech5410 27 дней назад

    بارك الله فيك على الشرح والتوضيح

    • @ahmadkelany
      @ahmadkelany  26 дней назад

      وبارك فيك يا أخي الكريم

  • @radoslavdimitrov7505
    @radoslavdimitrov7505 11 месяцев назад

    great tutorial also you are more fluent in English than me. Keep the RDLC stuff going

    • @ahmadkelany
      @ahmadkelany  11 месяцев назад +1

      Thanks for your kind words,
      I am really glad it was helpful.

  • @HasanRaihan
    @HasanRaihan Год назад

    Great job man. Helped me lot.
    You are legend, thank you.

    • @ahmadkelany
      @ahmadkelany  Год назад

      thanks for your kind words,
      i am glad it helped 😊

  • @vashumakwana699
    @vashumakwana699 Год назад

    Thank you and Excellent expiation to start with basic reports in .NET 6 Windows app. :)

    • @ahmadkelany
      @ahmadkelany  Год назад

      You're welcome,
      I am glad it helped. 💐

  • @samialkendi4862
    @samialkendi4862 Год назад

    Thank you very much, i was stuck trying to solve this issue but i found the solution here. 👍👍👍

    • @ahmadkelany
      @ahmadkelany  Год назад

      you're welcome, I'm glad it helped 😊

  • @edwinjesus5369
    @edwinjesus5369 2 года назад

    Thank you my friend, you really helped me a lot, greetings from Peru

  • @morsheddld
    @morsheddld 2 года назад

    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
      @ahmadkelany  2 года назад +1

      You're welcome brother,
      Yes, I am from Egypt 😊
      Inshalla I will do my best.

  • @SoulDevil666
    @SoulDevil666 2 года назад

    Thank you! It was a great starting point for me.

  • @MrFEMGM
    @MrFEMGM Год назад

    Excellent video. The little tricks are very useful.

    • @ahmadkelany
      @ahmadkelany  Год назад

      You're welcome, I am glad it was useful.

  • @willievs
    @willievs 2 года назад +1

    Thank you very much. Never thought that one needs to manually manipulate it.

    • @ahmadkelany
      @ahmadkelany  2 года назад

      You're welcome Willie,
      I am glad it helped.

  • @vashumakwana699
    @vashumakwana699 Год назад +1

    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?

    • @ahmadkelany
      @ahmadkelany  Год назад

      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

    • @vashumakwana699
      @vashumakwana699 Год назад

      @@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.

    • @ahmadkelany
      @ahmadkelany  Год назад

      @@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
      @ahmadkelany  Год назад +2

      @@vashumakwana699
      Here it is:
      ruclips.net/video/ause26KdJ-I/видео.html
      I hope it helps 😊

    • @vashumakwana699
      @vashumakwana699 Год назад

      @@ahmadkelany Thanks

  • @riazripon6670
    @riazripon6670 2 года назад

    Great tutorial. Thank you so much sir. love from bangladesh

    • @ahmadkelany
      @ahmadkelany  2 года назад

      You're welcome brother,
      I am glad it helped

  • @yantokumat
    @yantokumat Год назад

    very helpful, 10:07 this is what i looking for, Thanks!!!

    • @ahmadkelany
      @ahmadkelany  Год назад +1

      You're welcome,
      I'm glad it helped.

  • @molindio
    @molindio 2 года назад

    Wonderful content. Keep on doing good sir!!

    • @ahmadkelany
      @ahmadkelany  2 года назад

      Thanks for kind words, I am glad it's helpful

  • @anthony9242
    @anthony9242 Год назад

    Wonderful !!! Subscribed to your channel 🙂

    • @ahmadkelany
      @ahmadkelany  Год назад

      Thanks, I am glad it was helpful.

  • @titusxp
    @titusxp 2 года назад

    You saved my life. Thank you so much

    • @ahmadkelany
      @ahmadkelany  2 года назад

      I am glad it helped you, you're welcome

  • @foolproof2005
    @foolproof2005 11 месяцев назад

    this was very helpful. thanks!

  • @adriansosalopez6976
    @adriansosalopez6976 8 месяцев назад

    Gracias. Thank you vety much From MExico

    • @ahmadkelany
      @ahmadkelany  8 месяцев назад +1

      De nada amigo,
      I am glad this was helpful

  • @davetapson7450
    @davetapson7450 2 года назад +1

    Good job...

  • @emcio5
    @emcio5 Год назад +1

    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

    • @ahmadkelany
      @ahmadkelany  Год назад

      please check the WPF section in the RDLC course playlist available in the channel, and pinned in the comments here also.

  • @franciscopaez3457
    @franciscopaez3457 2 года назад

    man i am really thankfull for this video, u save me bro. Thanks

    • @ahmadkelany
      @ahmadkelany  2 года назад +1

      I am glad it helped 😊

    • @franciscopaez3457
      @franciscopaez3457 2 года назад

      @@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?

    • @ahmadkelany
      @ahmadkelany  2 года назад +1

      @@franciscopaez3457
      Do you mean by adding objects through the "add dataset " UI wizard ?

    • @franciscopaez3457
      @franciscopaez3457 2 года назад

      @@ahmadkelany exactly

    • @ahmadkelany
      @ahmadkelany  2 года назад +1

      @@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

  • @hervekouadio7362
    @hervekouadio7362 Год назад

    Please
    Can tout help to do same think with crystal reports.
    Thanks

  • @johncloedguarra300
    @johncloedguarra300 2 года назад

    Thanks for this, it solved my problem

  • @michaelalaohuru
    @michaelalaohuru 2 года назад

    Waooo This is awesome. Thank you so so much

    • @ahmadkelany
      @ahmadkelany  2 года назад

      Thanks for your kind words, I am glad it helped

  • @saeednajmddin7676
    @saeednajmddin7676 Год назад +1

    Is there an example to fill a table from a database?

    • @ahmadkelany
      @ahmadkelany  Год назад

      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.

  • @benitolnx
    @benitolnx 10 месяцев назад

    thanks you, your help is very good.

    • @ahmadkelany
      @ahmadkelany  10 месяцев назад

      You're welcome,
      I am glad it was helpful.

  • @FletchDeezie
    @FletchDeezie Год назад

    Great job!! Thx!

  • @SamirKatore
    @SamirKatore 2 года назад

    Thank you for your efforts.

    • @ahmadkelany
      @ahmadkelany  2 года назад

      You're welcome,
      I am glad it helped

  • @RAPTOR77able
    @RAPTOR77able 2 года назад

    muchas gracias, Dios te bendiga.

    • @ahmadkelany
      @ahmadkelany  2 года назад

      de nada mi amigo
      Dios te bendiga a ti tambien

  • @shahomaghdeedabdullah5967
    @shahomaghdeedabdullah5967 2 года назад +1

    Dear bro how can i change my .Net project version to .Net 6, I have reached more, and did not get

    • @ahmadkelany
      @ahmadkelany  2 года назад

      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..

    • @shahomaghdeedabdullah5967
      @shahomaghdeedabdullah5967 2 года назад

      .net Framework 4.8

  • @MalikKurdish
    @MalikKurdish 2 года назад

    Thank you for the tutorial,
    but how to use data in report view core?

    • @ahmadkelany
      @ahmadkelany  2 года назад +1

      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

  • @marjukerazi1089
    @marjukerazi1089 2 года назад

    you did a great job bro tnks...

    • @ahmadkelany
      @ahmadkelany  2 года назад

      Thanks for your kind words brother, you're welcome

  • @afnbsahmedfawzy
    @afnbsahmedfawzy 8 месяцев назад

    please help me i have a problem after publish error BC31519 'my application path ' cannot be refranced becuase it is not valid

    • @ahmadkelany
      @ahmadkelany  8 месяцев назад

      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.

    • @afnbsahmedfawzy
      @afnbsahmedfawzy 8 месяцев назад

      @@ahmadkelany Thank you very much . Everything works now.
      May God bless you

  • @ANDRESMARTINEZDAMIAN
    @ANDRESMARTINEZDAMIAN Год назад

    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?

    • @ahmadkelany
      @ahmadkelany  Год назад

      You might need to repair your VS installation.

  • @leocaballero4387
    @leocaballero4387 Год назад

    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?

    • @ahmadkelany
      @ahmadkelany  Год назад

      Thanks for your kind words,
      Yes, it has not been solved to date unfortunately.

  • @haneefyoutuification
    @haneefyoutuification 2 года назад

    Good , example worked

    • @ahmadkelany
      @ahmadkelany  2 года назад

      Thanks, I am glad it helped.

  • @_metzeller
    @_metzeller 2 года назад

    Is this problem of adding the report viewer control not yest resolved?

    • @ahmadkelany
      @ahmadkelany  Год назад

      As far as I know, it is not resolved yet.

  • @romeldelacruz2740
    @romeldelacruz2740 5 месяцев назад

    Hi. is it still useful in .net

  • @adrianoribeiro1984
    @adrianoribeiro1984 2 года назад

    Parabéns !!!, me salvou

  • @HanHyungSik
    @HanHyungSik 2 года назад

    Thank you very much.

  • @sohailsc1921
    @sohailsc1921 2 года назад

    Thank you very much for your tutorial. Can u Do WPF Please

    • @ahmadkelany
      @ahmadkelany  2 года назад

      you're welcome 😁
      WPF tutorial is high on my priorities list

    • @ahmadkelany
      @ahmadkelany  2 года назад

      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 :)

  • @kuldeepgill2694
    @kuldeepgill2694 Год назад

    Thanks a lot

    • @ahmadkelany
      @ahmadkelany  Год назад

      You're welcome,
      I am glad it helped.

  • @Albert-mn3fc
    @Albert-mn3fc 2 года назад +1

    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
      @ahmadkelany  2 года назад

      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:

    • @ahmadkelany
      @ahmadkelany  2 года назад +1

      ReportViewer1.LocalReport.ReportEmbeddedResource = "WinFormsApp1.ReportDefinitions.Report1.rdlc"

    • @Albert-mn3fc
      @Albert-mn3fc 2 года назад +2

      @@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"

    • @haneefyoutuification
      @haneefyoutuification 2 года назад

      @@Albert-mn3fc Thanks for this part,

  • @MonkeyDLuffy-tp3ln
    @MonkeyDLuffy-tp3ln 2 года назад +2

    يا رجل يا ريتك شرحت بالعربي :)
    على اي حال شكرا
    وبارك الله فيك

    • @ahmadkelany
      @ahmadkelany  2 года назад +4

      هههههه الفيديو كان استجابه لطلب صديق اجنبي و كذلك السابق له
      انا بجهز اعمل بلاي لست بالعربي تفصيلية .. بس محتاجة تجهيز شوية بحيث تغطي الموضوع بشكل جيد

    • @ahmadkelany
      @ahmadkelany  2 года назад +3

      نزلت الشرح بالعربي :)
      تقدر تلاقيه هنا : ruclips.net/p/PLiCAeYs_bX0uZr4uoJuSttyrPbVa_qY4u

  • @pako_tube6898
    @pako_tube6898 2 года назад

    I follow you exactly what do you do but I haven't a reportViewer in my ToolBox , My I forget any thing?, please help

    • @ahmadkelany
      @ahmadkelany  2 года назад

      Are you sure you added the correct Nuget Packages ?
      What .Net are you targeting?
      and what are the nuget packages you installed ?

    • @pako_tube6898
      @pako_tube6898 2 года назад

      @@ahmadkelany
      .Net6 and NuGet: ReportViewerCore.Winforms ver 15.1.17, other things I work with Windows8, chokran for your reply

    • @ahmadkelany
      @ahmadkelany  2 года назад

      @@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

    • @pako_tube6898
      @pako_tube6898 2 года назад

      @@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.

    • @ahmadkelany
      @ahmadkelany  2 года назад

      @@pako_tube6898
      Please try repairing your VS 2022 installation first :
      like this: ruclips.net/video/nEj2Ka_NxYc/видео.html

  • @ricardourzua-g9z
    @ricardourzua-g9z Год назад

    thanks bro!!

    • @ahmadkelany
      @ahmadkelany  Год назад

      You're welcome,
      I am glad it helped.

  • @pabloandresgualtieri
    @pabloandresgualtieri 2 года назад

    gracias

  • @topgamers9256
    @topgamers9256 Год назад

    Thanks🎉🎉🎉

  • @vulcanobyte
    @vulcanobyte 2 года назад

    Thanks bro

    • @ahmadkelany
      @ahmadkelany  Год назад +1

      You're welcome, glad it helped.

  • @HadiRaad-px8rm
    @HadiRaad-px8rm 2 года назад

    Thanks a loooooooooooooooot man ;)

  • @jdacosta77
    @jdacosta77 Год назад

    save me a couple of nerve crisis

  • @rezkiarez4734
    @rezkiarez4734 2 года назад

    يا ريت لو عملت الفيديو بالعربي

    • @ahmadkelany
      @ahmadkelany  2 года назад

      شغال على سلسلة كاملة بالعربي بإذن الله
      بس مش عاوز انشرها الا لما تكتمل

    • @rezkiarez4734
      @rezkiarez4734 2 года назад

      @@ahmadkelany بارك الله فيك....و الله المحتوى العربي ضعيف جدا...يحتاج امثالك

  • @MatiasIllanes-g5k
    @MatiasIllanes-g5k Год назад

    XD

  • @9994704470
    @9994704470 Год назад

    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

    • @ahmadkelany
      @ahmadkelany  Год назад

      Check out this demo:
      ruclips.net/video/4eOAtr3S8Bw/видео.html