Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Dataset myDataset.Designer.vb under myDataSet.vb  vs 3.5 sp 1

Posted on 2009-05-18
3
Medium Priority
?
307 Views
Last Modified: 2013-11-08
Hi - I have created a dataset using the dataset designer in VS 3.5 SP 1
When I try to add additional fill methods, or preview data I cant.  I think it is because the mydataset.Designer.vb file is under mydataset.vb file as you will see in the attached jpg.  How can I get the dataset straightened out?

Thanks Kim
0
Comment
Question by:KimberleyY
[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
  • 2
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 24421808
There isn't any file attachment.  It sounds like you might have a problem with the file association in the .vbproj file.


  <ItemGroup>
    <Compile Include="DataSet1.Designer.vb">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>DataSet1.xsd</DependentUpon>
    </Compile>
 
...
  <ItemGroup>
    <None Include="DataSet1.xsc">
      <DependentUpon>DataSet1.xsd</DependentUpon>
    </None>
    <None Include="DataSet1.xsd">
      <SubType>Designer</SubType>
      <Generator>MSDataSetGenerator</Generator>
      <LastGenOutput>DataSet1.Designer.vb</LastGenOutput>
    </None>
    <None Include="DataSet1.xss">
      <DependentUpon>DataSet1.xsd</DependentUpon>
    </None>

Open in new window

0
 

Author Comment

by:KimberleyY
ID: 24422069
Thank you for answering,  I solved the problem by copying the generated code from the

designer.vb
.xssx
.xsc

files into notepad - deleted the dataset and added  a new dataset with the same name, and then pasted in the code from notepad and this worked.  I did not know about the information in the vbproj file.    I will look into a backup of the project which I took before I made the changes.  I am sure by poking around in there I will learn a lot.  That is one of the problems with using the designers in VS,  I did not learn what is going on behind the curtain -

I am awarding you the points - because I did learn something new - which I am sure will come in handy.

Thanks you again.
0
 

Author Closing Comment

by:KimberleyY
ID: 31582732
Thank you
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

618 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