none
How to add new field in rdlc's dataset RRS feed

  • Question

  • Hi all

    I have a Rdlc Report ( with Microsoft Report viewer and VS 2010 ) and i wanna change my datase ( add some new fields ) 

    But when i add new field i get an error when i try to add a datarow and Also i cannot see my new field in My report designer 

    Here is my code 

      var dataset = new Reports.OrdersList();

     dataset.OrderTable.AddOrderTableRow(Name,LastName ,...);

    after im adding the row it says i cannot find OrderTable but without that column it works fine

    what should i do for add new field to dataset and use it in my report????

    thank you 

    Tuesday, December 27, 2011 3:52 PM

All replies

  • Hi,

    You need to add column to XSD.

    Find XSD which is used in report in your solution and add field in XSD.


    Regards,

    Asim Bagwan

    Kindly mark the replies as Answers if they help!

    Tuesday, December 27, 2011 6:00 PM