Solved

ADO Recordset read/write?

Posted on 2010-09-15
6
194 Views
Last Modified: 2012-10-14
Using vb.net 2008, and SQL Server 2005.
How can I open a recordset that is both readable and writeable?
0
Comment
Question by:Jess31
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 27

Expert Comment

by:planocz
ID: 33688066
In VB.net  you use the adapter to bring in your dataset then adjust the dataset thru the adapter and then back to the sqlserver.
0
 
LVL 4

Expert Comment

by:timexist
ID: 33688102

101 Samples for Visual Basic 2005
http://msdn.microsoft.com/en-us/vbasic/ms789075.aspx
0
 
LVL 4

Accepted Solution

by:
timexist earned 500 total points
ID: 33688105
Data Access SamplesThe Data Access samples show how to use the classes in the System.Data and related namespaces. In addition, how to use the new features of SQL Server 2005. Samples include:

Asynchronous Queries
Attaching a database with your application
Creating and using User Defined Types with SQL Server 2005
DataReader vs. DataSet comparision
DataSet and DataTable Enhancements
Performing Batch Updates and Data Paging
Performing Bulk Updates
 Reading and Writing Images from a Database
Using Factory Classes
Using Managed Stored Procedures and User Defined Functions with SQL Server 2005
Using Multiple Active Result Sets with SQL Server 2005
Using Notifications with SQL Server 2005
Using the XML data type with SQL Server 2005
XPath and XSLT Transformations Enhancements
 
Download the Visual Basic version of the Data Access samples.
http://download.microsoft.com/download/f/7/8/f780fb58-77dc-4d5d-adcd-55818c9f23da/VB101SamplesData.msi
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 1

Author Comment

by:Jess31
ID: 33688113
yes, but is there no way that I can use a recordset that I can read and write to directly?
I have to loop through a recordset, updating another table, basically Inserting each record from RS1 to RS2, and then writing the ID created for the new RS2.record to RS1.
0
 
LVL 4

Expert Comment

by:timexist
ID: 33688115
0
 
LVL 1

Author Comment

by:Jess31
ID: 33688830
timexist:

which one of these samples relate to my question?
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question