Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How can i send a list of special Objects to Crystal Report as source of data?!


sample class is here:
<br />
    public class User<br />
    {<br />
        int userID;<br />
        string userName;<br />
<br />
        public int UserID<br />
        {<br />
            get { return userID; }<br />
            set { userID = value; }<br />
        }<br />
<br />
        public string UserName<br />
        {<br />
            get { return userName; }<br />
            set { userName = value; }<br />
        }<br />
    }<br />


i want to make a list from class above and send it to crystal report


<br />
List<User> SampleList=new List<User>();<br />


how can i send SampleList to Crystal Report?! :doh:
I made many ways to doing this but none of them are usable for all deferent ways!!

do you know any right way?
Posted

1 solution

Have a look at the last post in this thread.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900