473,756 Members | 4,165 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is Data Binding a Bad Choice ??????????

I am a VB6 intermediate programmer just starting out using VB.net and would
like to ask what I'd be missing out on if I just use time saving techniques
like data binding, data adapter wizards etc to create my front end
application. Building the data access forms using manual coding just seems
like a lot of work.... Any guidance would be appreciated

Fares
Nov 20 '05 #1
10 1924
Cor
Hi Fares,

Have for databinding first a look to "Datasource ", that does the most work
for you.

And for the more general part of your question:

Probably you will start with using the wizards, they are nice but after a
while, you will see that they somethings do things, that you do not want and
start more and more doing things by hand.

And strange is that it becomes less work, especialy because you probably
will build your own classes which do the job for you.

I hope this helps?

Cor
I am a VB6 intermediate programmer just starting out using VB.net and would like to ask what I'd be missing out on if I just use time saving techniques like data binding, data adapter wizards etc to create my front end
application. Building the data access forms using manual coding just seems
like a lot of work.... Any guidance would be appreciated

Nov 20 '05 #2
* "Fares Eidi" <fa***@agricola .gr> scripsit:
I am a VB6 intermediate programmer just starting out using VB.net and would
like to ask what I'd be missing out on if I just use time saving techniques
like data binding, data adapter wizards etc to create my front end
application. Building the data access forms using manual coding just seems
like a lot of work.... Any guidance would be appreciated


Why not use this technique (data binding)? It was introduced to make
work easier, so why not use it when it's useful?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Cor
Hi Herfried,

Databinding leads people mostly in the wrong direction for a simple start.
I would use the datasource instead.

Databinding looks at first sight very complex and is only needed for
controls which have no datasource as textbox, labels, listview etc.

By instance with the combobox, datagrid, listbox is the datasource the way
to go first.

Just my thought

Cor
Nov 20 '05 #4
Thanks for your thoughts ...

I guess I never did fully appreciate the true reason why (advanced) VB6
programmers avoided binding for a C/S application running for a small
workgroup.
I mean the whole debate was that binding is not as scalable or resource
efficient wasn't it?

Fares

"Cor" <no*@non.com> wrote in message
news:Oe******** ******@tk2msftn gp13.phx.gbl...
Hi Herfried,

Databinding leads people mostly in the wrong direction for a simple start.
I would use the datasource instead.

Databinding looks at first sight very complex and is only needed for
controls which have no datasource as textbox, labels, listview etc.

By instance with the combobox, datagrid, listbox is the datasource the way
to go first.

Just my thought

Cor

Nov 20 '05 #5
Cor,
How are you considering the "Datasource " to be different then data binding?

I consider the Datasource property to be one form of Data binding.

Can you explain where you are heading with this?

Thanks
Jay

"Cor" <no*@non.com> wrote in message
news:Oz******** *****@tk2msftng p13.phx.gbl...
Hi Fares,

Have for databinding first a look to "Datasource ", that does the most work
for you.

And for the more general part of your question:

Probably you will start with using the wizards, they are nice but after a
while, you will see that they somethings do things, that you do not want and start more and more doing things by hand.

And strange is that it becomes less work, especialy because you probably
will build your own classes which do the job for you.

I hope this helps?

Cor
I am a VB6 intermediate programmer just starting out using VB.net and

would
like to ask what I'd be missing out on if I just use time saving

techniques
like data binding, data adapter wizards etc to create my front end
application. Building the data access forms using manual coding just seems like a lot of work.... Any guidance would be appreciated


Nov 20 '05 #6
Fares,
In addition to the other comments.

Databinding in .NET is very powerful, easy to use, and efficient. I would
recommend using it if you can. Remember that data binding in .NET supports
binding to both ADO.NET and your own domain objects.

David Sceppa's book "Microsoft ADO.NET - Core Reference" from MS press is
both a good tutorial on ADO.NET & a good desk reference for later. It has a
couple of chapters on data binding to ADO.NET.

Rockford Lhotka's book "Expert One-On-One Visual Basic .NET Business
Objects" from A! Press, provides a framework for data binding to your own
domain (business) objects.
http://www.lhotka.net

Hope this helps
Jay

"Fares Eidi" <fa***@agricola .gr> wrote in message
news:uS******** ******@TK2MSFTN GP11.phx.gbl...
I am a VB6 intermediate programmer just starting out using VB.net and would like to ask what I'd be missing out on if I just use time saving techniques like data binding, data adapter wizards etc to create my front end
application. Building the data access forms using manual coding just seems
like a lot of work.... Any guidance would be appreciated

Fares

Nov 20 '05 #7
Cor
Hi Jay,
How are you considering the "Datasource " to be different then data binding? I consider the Datasource property to be one form of Data binding.


Of course

But I recognized that people are looking for databinding and not for
datasource, that is the only reason that I write that in this kind of
questions.

Databinding looks often so difficult in the beginning and adding a
datasource is so simple.

Cor

Nov 20 '05 #8
Cor
Hi Fares,

When you have used it and get it full it is very easy to use, but some
things like "format" (remember that word as a keyword) can be very difficult
to understand in the beginning.

To try it,
Just make a combobox and an extra textbox.
Connect a datatable to the datasource from the combobox and bind the textbox
to the same datatable.

If it is difficult tell it (not now direct) because that sample is easy to
give.

Cor
Nov 20 '05 #9
Cor,
That's what I was hoping you were going to say! ;-)

Jay

"Cor" <no*@non.com> wrote in message
news:eV******** ******@tk2msftn gp13.phx.gbl...
Hi Jay,
How are you considering the "Datasource " to be different then data

binding?
I consider the Datasource property to be one form of Data binding.


Of course

But I recognized that people are looking for databinding and not for
datasource, that is the only reason that I write that in this kind of
questions.

Databinding looks often so difficult in the beginning and adding a
datasource is so simple.

Cor

Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
7041
by: Philip D Heady | last post by:
Ok, as some of you may know I'm an Oracle newbie w/ PHP. I'd rather use MySQL but at the office here we use Oracle and boy do I have alot to learn. I'm starting to hate it after using MySQL!! -------------------------------------------------------------------------- 1) Is there a similar statement using PHP/Oracle functions as below for MySQL? -------------------------------------------------------------------------- while (list...
0
2348
by: Ann Morris | last post by:
INTRODUCTION One of the most powerful aspects of .NET and Windows Forms is data binding. Data binding is the process of associating user interface (UI) elements with a data source to generate a visual representation of data. Two types of data binding are available for Windows Forms: Simple Data Binding and Complex Data Binding. Simple data binding allows you to bind one data element to a control. In many situations you want to display...
3
4714
by: serge calderara | last post by:
Dear all, I ma collected data from a CSV file and build dataset based on those data. I would like to bind this dataset to a treeview control in order that nodes gets displayed automatically based on my dataset column name. Does anyone could help me how to do this ? Any sample will be appriciate best regards
16
3036
by: D Witherspoon | last post by:
I am developing a Windows Forms application in VB.NET that will use .NET remoting to access the data tier classes. A very simple way I have come up with is by creating typed (.xsd) datasets. For example dsParts.xsd and including that in the data tier. I then will create a class that looks like this Public Class CPart Inherits dsParts
12
2283
by: Nhmiller | last post by:
When I start to type the data for a new record, I would like a dropdown box to open next to it from which I can choose the data from a previously entered record that starts with the same letter. This is the way my previous database, Approach, worked. I have tried using the form design toolbox wizard for this but have had no success. I perused the Help menus and found some deficient instructions on List, Combo and Dropdown. The dropdown icon...
6
1809
by: Mike Kirkpatrick | last post by:
I have this data grid which consists of 3 pick lists. The first pick list is to affect the data binding of the other two. I have figured out how to do the data binding by column. However, I do not want the first pick list to affect the other rows. At this time, when I change the first pick list, it is causing the second and third pick lists to change on all the rows. I just want it to change the second and third pick list on the currently...
14
14657
by: Rolf Welskes | last post by:
Hello, I have an ObjectDataSource which has as business-object a simple array of strings. No problem. I have an own (custom) control to which I give the DataSourceId and in the custom-control so I get the ObjectDataSource. No problem ..... ObjectDataSource src = .... //is ok i have it
9
4024
by: Anil Gupte | last post by:
After reading a tutorial and fiddling, I finally got this to work. I can now put two tables created with a DataTable class into a DataRelation. Phew! And it works! Dim tblSliceInfo As New DataTable("SliceInfo") Dim tblSliceRatings As New DataTable("SliceRatings") '.... All the adding datacolumns, datarows, etc. goes here.. DatasetInit.Tables.Add(tblSliceInfo)
8
2325
by: tkjensen | last post by:
How to make a own dataview in c#? Can someone please help me? I want to get id and users and everything else from database to be showed in the same place at the same time just as DataView. Please help me. Need help for this. I can't find anything that I can use on google. I have searched for Howto make a dataset in c# but I'm new to programming. So please help me. =)
0
9487
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9884
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9735
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8736
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7285
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3828
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3395
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2697
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.