Am I just totally missing something here? I'm just new to VS.NET 2005
(using VB.NET) and ADO.NET.
I get the impression that ADO.NET can't do what I'm used to doing with ADO
(previous ADO withVB6).
I used to bind (let's say a text box) to a field (column) in a recordset and
if I typed a value in that textbox and tabbed out of it, the value in the
database got updated without me having to do anything else.
Now what I see is a terribly convoluted mish-mash of connections, adapters,
datasets that have to be "filled" etc and then there's the data bindings to
get it so you can just "see" what is in your database (excuse me, data
"source") and then after all of that it doesn't even keep up to date (if
something in the underlying database changes) much less update the database
after all. I have to write the code to do that too!!!!
Keep in mind the very first sentence... Am I missing something here?? OMG I
hope I am. 6 986
ADO.NET is disconnect by nature as opposed to ADO, which usually worked with
the actual data in the database. So, in ADO.NET you work with a copy of the
data, and when you are ready, you update the original data source with your
copy's changes.
This architecture reduces server load and generally improves the
application's response time (if you are smart about how and when you connect
to the data source).
"Sam Malone" <th************@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl... Am I just totally missing something here? I'm just new to VS.NET 2005 (using VB.NET) and ADO.NET. I get the impression that ADO.NET can't do what I'm used to doing with ADO (previous ADO withVB6). I used to bind (let's say a text box) to a field (column) in a recordset and if I typed a value in that textbox and tabbed out of it, the value in the database got updated without me having to do anything else. Now what I see is a terribly convoluted mish-mash of connections, adapters, datasets that have to be "filled" etc and then there's the data bindings to get it so you can just "see" what is in your database (excuse me, data "source") and then after all of that it doesn't even keep up to date (if something in the underlying database changes) much less update the database after all. I have to write the code to do that too!!!! Keep in mind the very first sentence... Am I missing something here?? OMG I hope I am.
Cripes. Seems like a MAJOR step backwards to me. People cost way more than
CPU cycles. Oh well, I'm sure my whining won't change M$ attitude. At least
it does show I wasn't as confused as I thought (hoped) I was :-(
"Scott M." <s-***@nospam.nospam> wrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl... ADO.NET is disconnect by nature as opposed to ADO, which usually worked with the actual data in the database. So, in ADO.NET you work with a copy of the data, and when you are ready, you update the original data source with your copy's changes.
This architecture reduces server load and generally improves the application's response time (if you are smart about how and when you connect to the data source).
"Sam Malone" <th************@hotmail.com> wrote in message news:%2****************@TK2MSFTNGP03.phx.gbl... Am I just totally missing something here? I'm just new to VS.NET 2005 (using VB.NET) and ADO.NET. I get the impression that ADO.NET can't do what I'm used to doing with ADO (previous ADO withVB6). I used to bind (let's say a text box) to a field (column) in a recordset and if I typed a value in that textbox and tabbed out of it, the value in the database got updated without me having to do anything else. Now what I see is a terribly convoluted mish-mash of connections, adapters, datasets that have to be "filled" etc and then there's the data bindings to get it so you can just "see" what is in your database (excuse me, data "source") and then after all of that it doesn't even keep up to date (if something in the underlying database changes) much less update the database after all. I have to write the code to do that too!!!! Keep in mind the very first sentence... Am I missing something here?? OMG I hope I am.
Sam,
If you had to think about an uniform method for a
Connected PC
Mobile device
Not connected mobile PDA device
Endless amounts of active webpage's
Have you any idea how to handle that with a connected recordset?
Cor
"Sam Malone" <th************@hotmail.com> schreef in bericht
news:%2****************@TK2MSFTNGP03.phx.gbl... Am I just totally missing something here? I'm just new to VS.NET 2005 (using VB.NET) and ADO.NET. I get the impression that ADO.NET can't do what I'm used to doing with ADO (previous ADO withVB6). I used to bind (let's say a text box) to a field (column) in a recordset and if I typed a value in that textbox and tabbed out of it, the value in the database got updated without me having to do anything else. Now what I see is a terribly convoluted mish-mash of connections, adapters, datasets that have to be "filled" etc and then there's the data bindings to get it so you can just "see" what is in your database (excuse me, data "source") and then after all of that it doesn't even keep up to date (if something in the underlying database changes) much less update the database after all. I have to write the code to do that too!!!! Keep in mind the very first sentence... Am I missing something here?? OMG I hope I am.
Cor Ligthert [MVP] wrote: Sam,
If you had to think about an uniform method for a
Connected PC Mobile device Not connected mobile PDA device Endless amounts of active webpage's
Have you any idea how to handle that with a connected recordset?
Cor
"Sam Malone" <th************@hotmail.com> schreef in bericht news:%2****************@TK2MSFTNGP03.phx.gbl...
Am I just totally missing something here? I'm just new to VS.NET 2005 (using VB.NET) and ADO.NET. I get the impression that ADO.NET can't do what I'm used to doing with ADO (previous ADO withVB6). I used to bind (let's say a text box) to a field (column) in a recordset and if I typed a value in that textbox and tabbed out of it, the value in the database got updated without me having to do anything else. Now what I see is a terribly convoluted mish-mash of connections, adapters, datasets that have to be "filled" etc and then there's the data bindings to get it so you can just "see" what is in your database (excuse me, data "source") and then after all of that it doesn't even keep up to date (if something in the underlying database changes) much less update the database after all. I have to write the code to do that too!!!! Keep in mind the very first sentence... Am I missing something here?? OMG I hope I am.
I think Sam has an excellent point - as developers we should have a
choice of working in a connected mode or not. In VB 6 we could work
with that recordset object as connected or not. Surely MS could have
given us the option of using ado.net in connected or disconnected mode,
maybe with two different components.
Tom
You can work in connected mode in one of two ways:
Read-only, forward-only needs are handled by the ADO.NET DataReader.
If read/write is desired, you can still use the ADO Recordset (if you must),
using COM InterOp.
Give the disconnected paradigm a chance, it is more code, but it results in
MUCH better performance overall.
"tomb" <to**@technetcenter.com> wrote in message
news:Cw*******************@bignews2.bellsouth.net. .. Cor Ligthert [MVP] wrote:
Sam,
If you had to think about an uniform method for a
Connected PC Mobile device Not connected mobile PDA device Endless amounts of active webpage's
Have you any idea how to handle that with a connected recordset?
Cor
"Sam Malone" <th************@hotmail.com> schreef in bericht news:%2****************@TK2MSFTNGP03.phx.gbl.. .
Am I just totally missing something here? I'm just new to VS.NET 2005 (using VB.NET) and ADO.NET. I get the impression that ADO.NET can't do what I'm used to doing with ADO (previous ADO withVB6). I used to bind (let's say a text box) to a field (column) in a recordset and if I typed a value in that textbox and tabbed out of it, the value in the database got updated without me having to do anything else. Now what I see is a terribly convoluted mish-mash of connections, adapters, datasets that have to be "filled" etc and then there's the data bindings to get it so you can just "see" what is in your database (excuse me, data "source") and then after all of that it doesn't even keep up to date (if something in the underlying database changes) much less update the database after all. I have to write the code to do that too!!!! Keep in mind the very first sentence... Am I missing something here?? OMG I hope I am. I think Sam has an excellent point - as developers we should have a choice of working in a connected mode or not. In VB 6 we could work with that recordset object as connected or not. Surely MS could have given us the option of using ado.net in connected or disconnected mode, maybe with two different components.
Tom
Thanks. I've been spending the weekend (it's a three day weekend here in
Canada) reading about it and yes I'm going to "give it a chance".
"Scott M." <s-***@nospam.nospam> wrote in message
news:eo**************@TK2MSFTNGP05.phx.gbl... You can work in connected mode in one of two ways:
Read-only, forward-only needs are handled by the ADO.NET DataReader.
If read/write is desired, you can still use the ADO Recordset (if you must), using COM InterOp.
Give the disconnected paradigm a chance, it is more code, but it results in MUCH better performance overall.
"tomb" <to**@technetcenter.com> wrote in message news:Cw*******************@bignews2.bellsouth.net. .. Cor Ligthert [MVP] wrote:
Sam,
If you had to think about an uniform method for a
Connected PC Mobile device Not connected mobile PDA device Endless amounts of active webpage's
Have you any idea how to handle that with a connected recordset?
Cor
"Sam Malone" <th************@hotmail.com> schreef in bericht news:%2****************@TK2MSFTNGP03.phx.gbl. ..
Am I just totally missing something here? I'm just new to VS.NET 2005 (using VB.NET) and ADO.NET. I get the impression that ADO.NET can't do what I'm used to doing with ADO (previous ADO withVB6). I used to bind (let's say a text box) to a field (column) in a recordset and if I typed a value in that textbox and tabbed out of it, the value in the database got updated without me having to do anything else. Now what I see is a terribly convoluted mish-mash of connections, adapters, datasets that have to be "filled" etc and then there's the data bindings to get it so you can just "see" what is in your database (excuse me, data "source") and then after all of that it doesn't even keep up to date (if something in the underlying database changes) much less update the database after all. I have to write the code to do that too!!!! Keep in mind the very first sentence... Am I missing something here?? OMG I hope I am. I think Sam has an excellent point - as developers we should have a choice of working in a connected mode or not. In VB 6 we could work with that recordset object as connected or not. Surely MS could have given us the option of using ado.net in connected or disconnected mode, maybe with two different components.
Tom
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ville Vainio |
last post by:
It might just be that @decorator might not be all that bad. When you
look at code that uses it it's not that ugly after all.
A lot of the furor about this is probably because it happened so...
|
by: Sims |
last post by:
Hi,
I have some small questions that have never been any problems, (for my
compiler?), but always make me curious.
So here goes...
what does the standard sday about the 'if' statement?
for...
|
by: James Gregory |
last post by:
I'm pretty sure this is non-totally-trivial enough and standard-C++ enough
to post here, however much it may initially look like a "how do I make a
computer game?" question, though I may be wrong....
|
by: Lauren Wilson |
last post by:
Ok I have searched the MS website for info on this. I am totally
confused.
If I want to deploy an Access 2003 app and allow my users to run it
using Access 2003 Runtime, where do I get the...
|
by: Anan18 |
last post by:
kk..there were 15 problems for for the monthy projects..i finished 11 of them..these 4 were really hard..
5. your working on a problem in which you must display as integer ratios; therefore you...
|
by: fairyvoice |
last post by:
i am writing a very simple c/s socket program, i just wanted the client to
first write to the server, after server get the message it, write to the
client, the the client write again. here's the...
|
by: stef mientki |
last post by:
hello,
I've thought many times I finally understood the import / namespace rules,
but again I'm totally lost :-(
This is my library file
# Module lib_test.py
X = 1
|
by: Lloyd Sheen |
last post by:
Ok I have a web control which is used to input search terms. It works
really well on one page.
Now I need nearly the same functionallity on another page and I take the
pieces and move them to...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
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,...
| |