PC Review


Reply
Thread Tools Rate Thread

ADO.Net equivlent of an Updatable ADO Recordset.

 
 
Byron Hopp
Guest
Posts: n/a
 
      25th Jul 2005
Is there a good example of creating an Ado.net object which can be updated
field by field and then update the sql server as the old ADO recordset?

Byron...


 
Reply With Quote
 
 
 
 
Mark Rae
Guest
Posts: n/a
 
      25th Jul 2005
"Byron Hopp" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...

> Is there a good example of creating an Ado.net object which can be updated
> field by field and then update the sql server as the old ADO recordset?


http://www.developerfusion.co.uk/forums/topic-23554


 
Reply With Quote
 
Sahil Malik [MVP]
Guest
Posts: n/a
 
      25th Jul 2005
That kind of ease is provided by CommandBuilder. It isn't exactly like
Recordset but it's close. But obviously the less effort you put in, the
crappier the query will be. Prefer to look at the underlying data structure
and specify your commands yourself.


--

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.ma.../13/63199.aspx
----------------------------------------------------------------------------
---------------


"Byron Hopp" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there a good example of creating an Ado.net object which can be updated
> field by field and then update the sql server as the old ADO recordset?
>
> Byron...
>
>



 
Reply With Quote
 
W.G. Ryan MVP
Guest
Posts: n/a
 
      25th Jul 2005
A DataReader is the closest to a recordset but it isn't updateable. The
closest is using a DataSEt/DataTable and using a DataAdapter to update it.
"Byron Hopp" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there a good example of creating an Ado.net object which can be updated
> field by field and then update the sql server as the old ADO recordset?
>
> Byron...
>



 
Reply With Quote
 
Cor Ligthert [MVP]
Guest
Posts: n/a
 
      25th Jul 2005
Byron,

In my opinion is the datatable the closest to the recordset.

The main difference is that a datatable is disconnected while a recordset is
connected to the database.

I hope this helps,

Cor


 
Reply With Quote
 
William \(Bill\) Vaughn
Guest
Posts: n/a
 
      25th Jul 2005
Of course, disconnected client-side Recordsets are more equivalent to the
disconnected DataTable.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________

"Cor Ligthert [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Byron,
>
> In my opinion is the datatable the closest to the recordset.
>
> The main difference is that a datatable is disconnected while a recordset
> is connected to the database.
>
> I hope this helps,
>
> Cor
>



 
Reply With Quote
 
Chad Z. Hower aka Kudzu
Guest
Posts: n/a
 
      27th Jul 2005
"Byron Hopp" <(E-Mail Removed)> wrote in
news:(E-Mail Removed):
> Is there a good example of creating an Ado.net object which can be
> updated field by field and then update the sql server as the old ADO
> recordset?


There really is no equivalent of the updatable recordset (formerly called a dynaset). You have
to issue separate update statements.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Blogs: http://www.hower.org/kudzu/blogs
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recordset is not updatable GSB Microsoft Access 3 24th Nov 2009 05:52 PM
Recordset not updatable Atlas Microsoft Access ADP SQL Server 1 9th Apr 2004 08:08 AM
Recordset is not Updatable Mark Mizner Microsoft Access Queries 0 23rd Jan 2004 08:01 PM
This recordset is not updatable Marcelo Microsoft Access Database Table Design 0 22nd Aug 2003 05:17 PM
Re: Recordset.Updatable Dirk Goldgar Microsoft Access VBA Modules 1 15th Aug 2003 07:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:33 AM.