none
How to use it as a datasource in Report Viewer Control ? RRS feed

  • Question

  • For Example I have four classes : Person, Links, Images, LinksAndImages

     

    class Images

    {

    private string imageName;

     

    //Get and set method

    }

     

    class Links

    {

    private strng linksName;

     

    //get and set methods

    }

     

    class LinksAndImages

    {

        private IList<Images> = new List<Images>();

       

        private IList<Links> = new List<Links>();

      

       public IList<Images>  Images

    {

    //Get and set method

    }

     

    //Same for Links (Get and set method)

    }

     

    class Person : LinksAndImages

    {

       private string name = "";

       private int age;

       

    //Get and set methods

    }

     

    // Now my question is how to retrieve the corresponding Images and Links after I populate Person with all the data....

     

    Thursday, July 5, 2007 2:33 AM