ivanjay205
07-08-2010, 10:56 PM
Hi all,
I am writing the login piece to a new web app I am writing. i have a database that maintains my a table of my company's Employees. This will include their hr data along with their login data and role permissions.
I have the DAL portion to read individual employees.
However, I need to create an employeeList class which is essentially a collection of all of the employees in the database. I am assuming collection class is the right way to go here....
I have been googling collection classes and looking through my books and cant find specifically what I am looking for. i am finding a lot of references to the generic collection classes .net provides but I am assuming I need to create a collection of my specific class (employee).
How would I go about this?
Thanks!
I am writing the login piece to a new web app I am writing. i have a database that maintains my a table of my company's Employees. This will include their hr data along with their login data and role permissions.
I have the DAL portion to read individual employees.
However, I need to create an employeeList class which is essentially a collection of all of the employees in the database. I am assuming collection class is the right way to go here....
I have been googling collection classes and looking through my books and cant find specifically what I am looking for. i am finding a lot of references to the generic collection classes .net provides but I am assuming I need to create a collection of my specific class (employee).
How would I go about this?
Thanks!