|
-
Sep 3rd, 2002, 10:06 AM
#1
Thread Starter
Addicted Member
Data Binding vs Manual Population?
Hi
Can anyone tell me whats the pros and cons of using databinding and manual population of data from a database?
In what situation do we use databindings or manual population?
Thanks
-
Sep 4th, 2002, 03:06 AM
#2
Addicted Member
I feel you should always populate controls manually as this way you learn how the control works properly and it allows you a lot more flexibility.
Wind and waves resolves all problems.
-
Jan 22nd, 2003, 03:21 AM
#3
Fanatic Member
I would like to bring this discussion back again.
I think that VB6 programmers have stayed away from the ADO data control and bound controls because of some performance reasons. I am making the move towards VB.NET and have the feeling that bound controls are not so evil after all, specially when the VS.NET environment generates quite a lot of code that are available for customisation. I would like to have some inputs from those who are already using VB.NET in production and whether bound controls are the right choice?
Thanks.
Using VB.NET 2003/.NET 1.1/C# 2.0
http://del.icio.us/rajoo
Blow your mind, smoke gunpowder
Ashes to ashes, dust to dust
If God won't have you, the devil will. - Author unknown
Don't follow me, I'm lost too ...
-
Jan 23rd, 2003, 03:25 AM
#4
Registered User
Hi!
I am using alot of databinding in different situations, and I am using manual population as well. Both have their advantages an disadvantages.
Advantages of the databinding is the ease of use (once you get a hang of it that is), one disadvantage is as cim3 says, the lack of 100% of control in all situation. But if you use a specific predefined strategy that is seldom a problem.
-
Jan 23rd, 2003, 11:38 AM
#5
I still mainly use methods other than databinding but do agree that binding is no longer evil in .NET. Most of my binding now is actually to my own custom classes instead of the data directly which I think gives me the right amount of control that I need. I also plan on looking at binding further in .NET even though in VB6 I almost never used binding.
-
Jan 24th, 2003, 03:45 AM
#6
Registered User
Just to warn you guys, there are a couple of traps deeper down into databinding, but don't give up if you feel something doesn't work. I have managed to get around almost every obsticle I have had to face, so If you have problems and question along the way, maybe I can answer some of them.
Just post and I'll do what I can.
-
Jan 24th, 2003, 06:21 AM
#7
Fanatic Member
Ednees, Athley
Thanks for your input.
Using VB.NET 2003/.NET 1.1/C# 2.0
http://del.icio.us/rajoo
Blow your mind, smoke gunpowder
Ashes to ashes, dust to dust
If God won't have you, the devil will. - Author unknown
Don't follow me, I'm lost too ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|