views:

35

answers:

0

This is the object class I'm trying to turn into a dataset:

public class BookStore
{
    private List<Book> booksList;
}

public class Book
{
    private string name;
    private string imageurl;
    private string subject;
    private string author;
    private int level;
    private int year;
    private int rating;
    private List<string> booksellers;
    private List<decimal> bookprices;
}

There are proprieties, of course. How can I turn these into a dataset? Thank you very much.