tags:

views:

78

answers:

2

Hi Guys can anyone help me quickly in CSLA my question is i want to fill a Grid in CSLA which should be Editable, Please tell me which CSLA stereotype i have to use it will be better if anyone will give me COde sample. Thanks

+1  A: 

Generally, you use BusinessListBase for any collection that is editable. I would advise reading the chapter on Data Binding in the CSLA book, as it provides the details on how to implement data binding depending upon the front end you are using (Windows Forms, Web Forms or WPF).

Jason Berkan
A: 

Hello,

A book would be a good starting point. You would more than likely need a BLB (BusinessListBase) such as a EditableRootList and EditableRoot stereotype. It is very easy to accomplish this. Depending on the control you need to Set the BLB as the DataSource, call DataBind and BeginEdit()/EndEdit().

Thanks -Blake Niemyjski (Author of the CodeSmith CSLA Templates)

Blake Niemyjski