Solved

Assigning default value to Transaction object

Posted on 2006-11-14
1
116 Views
Last Modified: 2012-05-05
Hi,

My VS.NET 2003 in VB.NEt is as follows:
Dim objCon as SQLTransaction.

Now when I migrate to VS.NET 2005, I get error that the above declaration does not have default value assignment. What should be the value by default?

Regards,
MI
0
Comment
Question by:vj_mi
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 125 total points
Comment Utility
Dim objCon As SQLTransaction = Nothing

Bob
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

728 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

9 Experts available now in Live!

Get 1:1 Help Now