title: Binding controls to class properties - is this technically possible?
body: <p>I have yet to find a "nice" way to do two way databinding in .Net.<br>
  The one thing I don't like for example in the present asp.net two way databinding is doing the binding in the aspx page is no compile time checking, ie:  </p>
  
  <pre><code>&lt;asp:TextBox ID="TitleTextBox"
              runat="server"            Text='&lt;%# Bind("Title_oops_spelled_wrong") %&gt;'&gt;
  </code></pre>
  
  <p>I would like to have something like this:  </p>
  
  <pre><code>Class Binder
  Public Sub BindControl(ctl As Control, objectProperty As ???????)
    '// Add ctl and objectProperty to a collection
  
  End Sub
  </code></pre>
  
  <p>What I don't know is possible is, how to receive the objectProperty in my example;  I want to receive a <em>reference</em> (ie: a pointer) to the property, so later, via this reference, I can either read from or write to the property.</p>
  
  <p>Can this somehow be done with delegates perhaps??</p>
  
  <p>UPDATE:<br>
  Note, I want to add the control <em>reference</em> to a binding collection, this collection would then be used for binding and unbinding.</p>