Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
golotan
Starting Member
2 Posts |
Posted - 2009-03-20 : 10:18:42
|
Hi!I wonder if it is possible to use other then queries or stored procedures for dataset in RS? I would like to use a class instead. Is it possible? Can any one give me an example?Thanks in advance!/golotan |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-03-20 : 10:47:59
|
class? what class? you mean .net assembly? |
 |
|
golotan
Starting Member
2 Posts |
Posted - 2009-03-23 : 03:41:45
|
I mean that I would like to use a class as an object for data source instead of quiry or stored procedure. I would like to use something like this:public class Product{ private string m_name; private int m_price; public Product(string name, int price) { m_name = name; m_price = price; } public string Name { get { return m_name; } } public int Price { get { return m_price; } }}Is this possible? |
 |
|
|
|
|