Deepload on nettier

Nettier architecture supports deapload feature.

Here how you can deepload data on code behind.

TList<TABLENAME> entities=Data.DataRepository.TABLENAMEProvider.GetByUserId(UserId);
Data.DataRepository.TABLENAMEProvider.DeepLoad(entities,  true, Data.DeepLoadType.IncludeChildren,  typeof(OBJECTTODEEPLOAD));
grdGridView.DataSource  = entities;
grdGridView.DataBind();

Bind the data like this on the aspx page.

<asp:TemplateField HeaderText="Header  info for propery"  >

<ItemTemplate>

<%# Eval("FKColumnNameSource.PropertyName")  %>

</ItemTemplate>

</asp:TemplateField>
, ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Share to Facebook Share to Twitter Stumble It Share on Tumblr Digg More...