K
Ken Fine
I want to know the most efficient approaches to fill an object's properties
from a database using the tools in VS.NET and/or any magic that's a part of
ASP.NET, ADO.NET, and related tech. I suspect there are tools or wizards or
abstractions to make this process easier, and I'm hoping some of the more
expereienced hands around here can tell me what those are.
I have a reasonably strong background building classes in classic ASP. The
methods I've been using borrow from R. Quinn's article on OOP and classes:
http://www.asp101.com/articles/richard/ooasp/default.asp
Quinn's scheme involves pulling a recordset and filling properties with
recordset. He has some generic functions (LoadByID, LoadData, etc.) to
support this.
Using VS.NET 2003/2005, what is the best practice for making this happen?
How do you get your work done? My suspicion is that it may involve strongly
typed DataSets, but I'd really appreciate it if someone can walk me through
their workflow.
Thanks!
Ken Fine
University of Washington
from a database using the tools in VS.NET and/or any magic that's a part of
ASP.NET, ADO.NET, and related tech. I suspect there are tools or wizards or
abstractions to make this process easier, and I'm hoping some of the more
expereienced hands around here can tell me what those are.
I have a reasonably strong background building classes in classic ASP. The
methods I've been using borrow from R. Quinn's article on OOP and classes:
http://www.asp101.com/articles/richard/ooasp/default.asp
Quinn's scheme involves pulling a recordset and filling properties with
recordset. He has some generic functions (LoadByID, LoadData, etc.) to
support this.
Using VS.NET 2003/2005, what is the best practice for making this happen?
How do you get your work done? My suspicion is that it may involve strongly
typed DataSets, but I'd really appreciate it if someone can walk me through
their workflow.
Thanks!
Ken Fine
University of Washington