Hi everyone.
So far, everyting with LLBLGenPro is working great. Great tool Here's my question (slightly OT)...
ASP.Net does not support two-way binding like WinForms do. To do databinding in ASP.Net, you have to go through a painfully manual process, such as:
private void Page_Load(...)
... create DataEntity de
txtName.Text = de.Name ;
txtAddress.Text = de.Address ;
txtAge.Text = de.Age.ToString() ;
... etc.
private Save(...)
...create DataEntity de
de.Name.Value = txtName.Text ;
de.Address.Value = txtAddress.Text
...etc
So, all the "loading from"... and "saving to" lines are an unneccessady effort. Now, I've seen ASP.Net databinding tools on the web (www.west-wind.com), but they all require a DataSet or a DataRow object as the SourceObject.
Unfortunately, LLBL Entities are neither DataSets or DataRows. This, of course, is good. But, I've not been able to find a tool to automate the databinding process in ASP.Net that works with LLBL entities.
As anyone handled this problem? Is there a tool? Any ideas?
Thanks! Jeff