KastroNYC wrote:
Thanks greatly for updating me on the scheduled beta release date its much appreciated. Hope I don't sound too rude, i'm just kinda tee'd that its taking me some time to understand how to get things working properly, as a developer I'm sure you understand my frustration.
Sure. Upgrading is always a bit of a pain, and if the stuff you need isn't there yet, it can be a problem.
I share your frustration on the changes in databinding on webforms. Not only is it a totally unnecessary change, it also will be a big problem for people who have a lot of asp.net 1.x forms and want to migrate to asp.net 2.0: ALL datasources dragged onto a webform won't be there anymore. This means that EVERY webform out there has to be re-done.
This is valid for EVERY webapp out there and no matter what datasource you're using, be it datasets or llblgen pro collections...
For me it was a very frustrating experience to write a datasourcecontrol without any documentation (there is hardly any documentation on these, I had to decompile almost every datasourcecontrol in asp.net 2.0) and with so little real gain. True, 2-way databinding is now 'possible', but it's still a trick which will eat OR bandwidth (viewstate caching) OR memory (session caching) and because there's no currency manager on a webform, it's still a sucky experience: if you want to create a master-detail webform with a single hierarchical datastructure, you're out of luck: you have to set up the syncing manually (you can do that through parameter binding in html, but still... it's a drag) .
And man can only fear what they have in store next, which will require again a rewrite of every databinding code out there. Now, if they only would FIX it for once...
On a side note (and sorry if I should have started another thread for this), is there a way currently (in 1.0.2005.1) using WebForms to data bind individual fields to text boxes, list boxes, etc? I understand that no databinding can be preformed in design time but can this be accomplished in code? I'm using self-servicing templates.
Textboxes is not worth the effort. The code to bind a textbox to an entity property is bigger than when you simply do:
myTextBox.Text = myEntity.Field;
Listboxes etc, work the same as anywhere else: setup the valuemember, datamember and datasource and call DataBind(). (I could have the names wrong for datamember etc. )