none
Link textBox value to navigation property member RRS feed

  • Question

  • hi,

    I've set my datasource to an Object and my DataSet to  Entity Framework object (POCO class )

    my classes :

    public partial class Customer
        {
            public Customer()
            {
               
            }    
            public int Id { get; set; }
            public string FirestName { get; set; }
            public string LastName { get; set; }
           
        }
    public partial class MaintenanceCard
     {
            public MaintenanceCard()
            {
            }
        
            public int Id { get; set; }
            public System.DateTime CheckInDate { get; set; }
            public virtual Customer Customer { get; set; }
    }
    
    

    MaintenanceCard has a member of type Customer ,

    my DataSet is set to MaintenanceCard object .

    How can i link SSRS textbox value  to display the customer name ?

    the generated expression is :

    =Fields!Customer.Value

    witch don't display anything , what i want is something like =Fields!Customer.FirestName .Value

    so i can display the name of the customer

    regards

    Saturday, February 15, 2014 7:48 AM