Attention: We are retiring the ASP.NET Community Blogs. Learn more >

DataBinding is simply too impressive

The more I work wioth databinding, the more impressed I am. 

Today, I discovered the art of creating your own change notification events for custom properties in controls. 

Then, after staring at a sproc for 10 mins trying to figure out why a field in the returned resultset we are binding to will not update, (calls to Dataset.HasChanges returns False when the text in the control is changed) it dawned on me, the field is calculated in the sproc. We return the actual Table field, but we check it first with a CASE clause. The schema returned has a ReadOnly attribute set to 'True' for the calculated column ...wow, very impressive. 

3 Comments

Comments have been disabled for this content.