Solved

ADO Recordset read/write?

Posted on 2010-09-15
6
191 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
  • 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
DevOps Toolchain Recommendations

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

 

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
 

Author Comment

by:Jess31
ID: 33688830
timexist:

which one of these samples relate to my question?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now