Casting complex class into a dataset?
Posted
by iTayb
on Stack Overflow
See other posts from Stack Overflow
or by iTayb
Published on 2010-03-30T15:01:15Z
Indexed on
2010/03/30
15:03 UTC
Read the original article
Hit count: 159
This is the 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 it into a dataset? Thank you very much.
© Stack Overflow or respective owner