Help me getting a datasource or dataset

Help me getting a datasource or dataset

Old forum URL: forums.lhotka.net/forums/t/8520.aspx


reddy143 posted on Thursday, February 11, 2010

I'am very new to CSLA.Net. 

I have a table named say Employee.

Employee  : BusinessBase<Employee>

EmployeeInfo :  ReadOnlyBase<EmployeeInfo>

EmployeeList : ReadOnlyBase<EmployeeList, EmployeeInfo>

 EmployeeList has a procedure which gets the all the data from employee table (select * from employee)

I'am creating a page and i need a dataset or a datasouce which can be assigned to a gridview. How do i get that...I tried to use csladatasouce but i don't get any values ( i'am getting container empty or null)...

 I would relly appreciate you help.  

RockfordLhotka replied on Thursday, February 11, 2010

You should read Chapter 20 of the Expert 2008 Business Objects book, and look at the PTWeb project in the ProjectTracker sample app in the Samples download.

Copyright (c) Marimer LLC