Reputation: 13
I have this question. everyone seems to like to use the feature dataset binding in vb.net. I was wondering is there any reason that this approach is better than the time I handle the binding myself in code? I mean creating the sqlConnection open it and... so on.
thanks a lot.
Upvotes: 0
Views: 112
Reputation: 1641
As I said in my comment that's not binding. I think this is one of the many situations where a feature that helps you get started with something small can start to get in the way when you are tackling a bigger and more complex project. Particularly if you are building a system to distribute to multiple clients, who will then have to install and configure the system for themselves, I'd recommend you manage the connections in code; you need that degree of control over what's going on. Conversely if you're writing a little utility to be used in-house you can rely on the connection management provided by VS. Personally anything but the simplest application I manage the connections in code.
Upvotes: 1