Solved

Typed Dataset

Posted on 2011-02-26
3
463 Views
Last Modified: 2012-08-14
Hi,
I have created a typed dataset in my c# project by draging the table onto dataset designer in the visual studio IDE. My XML Schema explorer look like this:

http://tempuri.org/RecordingDataset.xsd
     recordingdataset.xsd
       -<>RecordingDataset
              +<>Artist
               +<>Genre
Now I'm instatiating instance of RecordingDataset in another class but that instance doesn't give me access to these tables above Aritst or Genre, I mean no intellisence so I cannot use this dataset in my class.

Can somebody advice me plase.
0
Comment
Question by:ube100
[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 41

Accepted Solution

by:
graye earned 250 total points
ID: 34989695
Typically when you just drag-n-drop a table onto the DataSet designer, you end up with a DataTable and TableAdaper.  The DataTable is marked as Public behind the scenes, put the TableAdapters have a property in the designer called "Modifier" where  you can chance the scope.

Are you sure you didn't "go behind the scenes" and twiddle with the automatically generated code?
0
 

Author Comment

by:ube100
ID: 34990621
I have Attached the xsd file so you can have a look at it. It is throwing this eror:

Error      103      Custom tool error: Failed to generate code. Unable to convert input xml file content to a DataSet. Requested value 'Properties' was not found. Requested value 'Properties' was not found.      File:C:\Exercise\UnitTestBook\Recordings\Recordings\RecordingDataset.xsd      
                      Line 1
                      Column 1 RecordingDataSet.txt
0
 
LVL 41

Assisted Solution

by:graye
graye earned 250 total points
ID: 34991810
This certainly sounds like either a) you messed with it, or b) it got corrupted.

Either way, I'd suggest that you just cut your losses and start over with a new DataSet
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS question 16 63
asp.net web app does not update text field to show progress during long process 8 29
async questions 5 48
VB Catch Statement in Event Viewer. 2 20
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

738 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