CslaDataSource and ASP.NET Binding ExpressionsCslaDataSource and ASP.NET Binding Expressions
Old forum URL: forums.lhotka.net/forums/t/3879.aspx
pluc posted on Sunday, November 11, 2007
I need to bind an ASP.NET text box control to a CslaDataSource object thru code. Can anyone tell me how to do this? Here is what I have so far:
System.Web.UI.WebControls.TextBox txt = new System.Web.UI.WebControls.TextBox();
txt.ID = "txtTest";
txt.Text = (System.String)System.Web.UI.DataBinder.Eval([CslaDataSource object], [CslaBusinessBase property name]);
Copyright (c) Marimer LLC