473,321 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Data Connections Wizard

Hi All,

I used the data connections wizard to automatically
create the connections, data adapters and then data
set to contain the date from my database. The typed
dataset that is created is placed in a class on its own,
however the resulting objects are created with Friend
scope in the main form.

I would like to use the data stored in these objects in
other forms I will require in my application, to hold lists
of options in combo boxes, etc.

Does anyone have any suggestions as to how I should
declare these variables, or indeed, redfine them so that
I can call them without getting a NullReference
excpetion when trying to access the dataset on another
form?

Many thanks,

Jason.
Nov 20 '05 #1
2 853
Jason,

By the wizard created strongly typed dataset helps you in standard
situations when you are using it to display information. So very good
usable, however I do not know a MSDN samples where it is used for updating a
database or/and more of that stuff.

So make your choise use the wizard and keep you on the situations where for
it is created, make your own strongly typed datasets by hand or use untyped
datasets.

Just my opinion.

Cor
Nov 20 '05 #2
Hi Cor,

thanks for the info. I am using a control that works best
then the DS is generated with the Wizard so I would
like to stick with it until I have figured out how to use
the 3rd party control from code.

Thanks,

Jason.

On Mon, 26 Jul 2004 12:06:37 +0200, "Cor Ligthert"
<no**********@planet.nl> wrote:
Jason,

By the wizard created strongly typed dataset helps you in standard
situations when you are using it to display information. So very good
usable, however I do not know a MSDN samples where it is used for updating a
database or/and more of that stuff.

So make your choise use the wizard and keep you on the situations where for
it is created, make your own strongly typed datasets by hand or use untyped
datasets.

Just my opinion.

Cor


Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: charlies224 | last post by:
Hi, I am using SQL 2000 and has a table that contains more than 2 million rows of data (and growing). Right now, I have encountered 2 problems: 1) Sometimes, when I try to query against this...
1
by: Alex | last post by:
Hi all, I've seen this noted in many posts, but nothing I've checked out gives me any clue on how to do this. Basically as my topic says, I have a DTS and I simply need to export some data...
0
by: Curt tabor | last post by:
The toolbox seems to missing a lot of data components that were in VS 2002. In VS 2005, there are a lot of new things like datasources and views that get data on a form quickly, but connections and...
5
by: rogsonl | last post by:
My computer was moved last week, and the company changed the network groups we work on. As a result, one of the main benefits from Whidbey (database connectivity) no longer works. Situation: 1....
2
by: Crazy Cat | last post by:
I have an Excel add-in that connects to a SQL Server Express 2005 database. I've decided to create a configuration piece for this add-in in Visual Studio 2005 Express. I added a data connection...
0
by: Macca | last post by:
Hi, I am writing an asychronous socket server to handle 20+ simulataneous connections. I have used the example in MSDN as a base. The code is shown at end of question. Each connection has a...
3
by: ebrastow | last post by:
Hi folks, I'm a VB newbie - been using PowerBuilder for 12 years and thought I'd see how Visual Basic has come along these days. I'm using MS Visual Studio 2005 Professional, trying to connect...
0
by: JP | last post by:
Hello: I am using VB 6.0 with a Windows XP Professional environment. I am also using Access 2000. I am currently building a program and need reporting capabilities. So, I started a Data...
8
by: Brock | last post by:
I am trying to populate a Crystal Report from data in my DataGrid. The reason for this is that I want the user to be able to change values without updating the database, but still have their report...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.