aviles1973
Programmer
I am usig VB.net with a SQLServer2005 database. I create my database directly in VB.net and I have a question and would like some advice from others.
When I bind my labels, textboxes, etc. to DataFields in VB.net I really don't like the behind the scenes work that VB.net creates. I feel like I sort of loss control of what is going on behind the scenes.
My Question:
Does everyone bind the datafields in the database? Or do most people just assign the labels, textboxes, etc. programaticly at runtime when needed such as navigating from record to record?
I find it more controllable and stable to just create a SubFunction Class to assign the table data to these objects.
Is there any speed or other advantages when binding at design time?
Another thing is that when I do bind at design time VB.net creates DataSets and I prefer to use DataTables. So therefore I have unwanted datasets and then I create my DataTables. And when I make changes to the Database-> such as creating new fields the DataBindingObject is not refreshed.
I pretty much enjoy and like doing everything at runtime including my connection to the Database.
I just wanted to know how most other VB.net programmers accomlish this. Runtime or Designtime
When I bind my labels, textboxes, etc. to DataFields in VB.net I really don't like the behind the scenes work that VB.net creates. I feel like I sort of loss control of what is going on behind the scenes.
My Question:
Does everyone bind the datafields in the database? Or do most people just assign the labels, textboxes, etc. programaticly at runtime when needed such as navigating from record to record?
I find it more controllable and stable to just create a SubFunction Class to assign the table data to these objects.
Is there any speed or other advantages when binding at design time?
Another thing is that when I do bind at design time VB.net creates DataSets and I prefer to use DataTables. So therefore I have unwanted datasets and then I create my DataTables. And when I make changes to the Database-> such as creating new fields the DataBindingObject is not refreshed.
I pretty much enjoy and like doing everything at runtime including my connection to the Database.
I just wanted to know how most other VB.net programmers accomlish this. Runtime or Designtime