Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Separation of Biz and Data Layer question
Message
From
03/02/2007 22:27:36
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
02/02/2007 09:53:20
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB.NET 1.1
Miscellaneous
Thread ID:
01191769
Message ID:
01192176
Views:
14
>We pass around DataSets, some developers pass around Biz objects.

Hey Bonnie,
So, for example, if you were passing a collection of employees from your data layer back to your UI to, let's say, populate a datagrid, would these be the steps you follow (it's Saturday night, and my mind doesn't work very well on the weekend, so sorry if I say something that doesn't make much sense...)

-Populate your strongly typed dataset in your data layer in a shared function that returns your strongly typed dataset type.
-In your biz class, have a member with a type of your st dataset which gets loaded from a method.
-In your biz class, have a property of your st dataset that the UI refers to?

Sorry about the basic questions. I have been working with custom collections and was really starting to "get" that, but then I wanted to bind my collection to a datagrid and became frustrated at how complicated it seemed.
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform