473,406 Members | 2,698 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,406 software developers and data experts.

dataset disappears from designer

I am creating a windows app and I use the data adapter wizard to generate a SQL query. Once the data adapter is created, I generate a dataset from it and my dataset appears in the designer. Then I create another data adapter from the wizard and when that is complete I try to generate the existing dataset from the new data adapter. My dataset disappears from the desinger. If a generate my dataset from data adapter 1 again then a new instance of the dataset is created, but as soon as I try to add data from another data adapter to it disappears again. It appears that the windows generated code to intialize the dataset stays intact, but I get build errors if I try to reference it in my code

I've found many other postings about objects disappearing from the designer and I know that there are hotfixes available. Does anyone know if I really have to pay $245 and go through the phone support @ Microsoft to obtain the one I need? This has to be a bug because it happens consistantly in a new project when nothing else is happening. Thanks!
Nov 20 '05 #1
10 1639
Cor
Hi Suzi,

Before you spent $245 you can try to create a new project and only do that
what you decribe in your message, with me sometimes old datasets stays in
this situation the designercode and gave problems as you described.

Cor
Nov 20 '05 #2
Cor
Hi Suzi,

Before you spent $245 you can try to create a new project and only do that
what you decribe in your message, with me sometimes old datasets stays in
this situation the designercode and gave problems as you described.

Cor
Nov 20 '05 #3
Cor
Hi Suzi,

I tried it on a complete new project and had no problem check what I did if
that is the same?

I created an SQLdataadapter using the wizard with everything on it for one
table
I generated a dataset
I created another SQL dataadapter using the wizard from another database
again for one table
I generated the same dataset from that adapter.
When I did look in the dataset I had two tables in it from different
databases.

What version are you using by the way?

Cor
Nov 20 '05 #4
Cor
Hi Suzi,

I tried it on a complete new project and had no problem check what I did if
that is the same?

I created an SQLdataadapter using the wizard with everything on it for one
table
I generated a dataset
I created another SQL dataadapter using the wizard from another database
again for one table
I generated the same dataset from that adapter.
When I did look in the dataset I had two tables in it from different
databases.

What version are you using by the way?

Cor
Nov 20 '05 #5
Cor
Hi Suzie,

I am using also VS2003 and it is in my opinion very less buggier than 2002.
(With Adonet I did not even even one bug)

The only thing you can try maybe is taking another database and get from
there some dummy tables. But this is only guessing because this sounds
really weird.

Cor
Nov 20 '05 #6
Cor
Hi Suzie,

I am using also VS2003 and it is in my opinion very less buggier than 2002.
(With Adonet I did not even even one bug)

The only thing you can try maybe is taking another database and get from
there some dummy tables. But this is only guessing because this sounds
really weird.

Cor
Nov 20 '05 #7
Try not clicking on the data adapter itself to hit generate dataset, click
on the component tray itself, then it should show the results of multiple
data adatpers, see if that works for you.

-CJ

"Suzi" <an*******@discussions.microsoft.com> wrote in message
news:AB**********************************@microsof t.com...
Yes, that is exactly what I am doing. I am using 2003. I think this

started to happen when I had to reinstall VS.Net 2003 because my CR.net
keycode was set wrong and CR told me the only way to reset it was to
reinstall. Are you using 2003? I have heard rumors that 2003 is buggier
than 2002 as far as ADO.net goes, do you agree?
Nov 20 '05 #8
Try not clicking on the data adapter itself to hit generate dataset, click
on the component tray itself, then it should show the results of multiple
data adatpers, see if that works for you.

-CJ

"Suzi" <an*******@discussions.microsoft.com> wrote in message
news:AB**********************************@microsof t.com...
Yes, that is exactly what I am doing. I am using 2003. I think this

started to happen when I had to reinstall VS.Net 2003 because my CR.net
keycode was set wrong and CR told me the only way to reset it was to
reinstall. Are you using 2003? I have heard rumors that 2003 is buggier
than 2002 as far as ADO.net goes, do you agree?
Nov 20 '05 #9
Glad to help. =)
"Suzi" <an*******@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
Wow this is crazy stuff....

I was right clicking the data adapter to choose generate dataset and it was disappearing. Per CJ's suggestion I generated dataset from the properties window (I didn't realize at first that you could do it from just the component tray,
now I do:) and it didn't disappear. Now when I use the right click from the data adapter it doesn't disappear anymore. I tried it on two new projects and I'm so happy I don't have to call MS (for now) Thanks a lot!!!!

Nov 20 '05 #10
Glad to help. =)
"Suzi" <an*******@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
Wow this is crazy stuff....

I was right clicking the data adapter to choose generate dataset and it was disappearing. Per CJ's suggestion I generated dataset from the properties window (I didn't realize at first that you could do it from just the component tray,
now I do:) and it didn't disappear. Now when I use the right click from the data adapter it doesn't disappear anymore. I tried it on two new projects and I'm so happy I don't have to call MS (for now) Thanks a lot!!!!

Nov 20 '05 #11

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

Similar topics

1
by: Ed | last post by:
I've search around endlessly for a solution to this problem but have not found anything yet. I'm using Crystal 9 with .NET. I am not using a DSR to create the report. Instead I am creating a...
0
by: Tom Gao | last post by:
Hello, We are having a recurring problem of a typed dataset that we have in a form dissapearing from the VS designer and all bindings being lost. The dataset is defined in another component and...
0
by: Tom Gao | last post by:
Hello, We are having a recurring problem of a typed dataset that we have in a form dissapearing from the VS designer and all bindings being lost. The dataset is defined in another component and...
8
by: drg | last post by:
I have a DataSet with a DateTime field. I am using an EventRow r, to update it with values from a TextBox in a DataGrid. Suppose a DataGrid in edit mode had a field with value: 7/7/2005. Then the...
3
by: Mike N. | last post by:
Using VB.Net and ADO: I've created a public variable on my main form and set it to = a dataset which was crrated with the designer. I have another form with a datagrid on it. In the designer,...
0
by: Suzi | last post by:
I am creating a windows app and I use the data adapter wizard to generate a SQL query. Once the data adapter is created, I generate a dataset from it and my dataset appears in the designer. Then I...
4
by: Dave Taylor | last post by:
I've been using the dataset designer in Visual Studio to create typed datasets for my application by dragging over tables from the Server Explorer and dropping them into the designer. The problem...
8
by: GaryDean | last post by:
In an 2.0 asp app I used vs.net 2005 to create a TableAdapter:Dataset in my App_code directory. I also created a new vb class in that same directory. I have two issues: 1. I notice that there...
7
by: SteveT | last post by:
Can someone point me in the right direction? Somewhere I read that you reference a strongly typed dataset as if it were a class structure. For example, <SomeTests> <TestsGroups> <Group>...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.