Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / November 2005

Tip: Looking for answers? Try searching our database.

Data->Generate Dataset|Preview Data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Raoul James - 24 Nov 2005 21:24 GMT
I am writing an ADO.NET provider for a specialized (non-SQL) data store, and
wanted to support the options in the Data menu, specifically "Generate
Dataset" and "Preview Data".  The documentation on these types of features
is near to non-existant, including when you download the VSIP package (I
thought that would help but it doesn't).

I have the following three problems:

1. I cannot get my DataAdapter implementation to enable these menu options.
2. If I add another adapter, which does enable these options, the Generate
Dataset option gives me a dialog box titled "Microsoft Development
Environment" with the following text in it:
"Retrieving the schema for MyDataAdapter1 failed.

Object reference not set to an instance of an object."
3. Also, with another adapter to enable these options, if you select my
adapter in the Preview Data dialog, and attempt to "Fill Dataset", you get
the following error message in another "Microsoft Development Environment"
dialog box:
"The data adapter "MyDataAdapter1" is not completely configured.  To resolve
this problem, configure the adapter by using the Data Adapter Configuration
Wizard or by setting the SelectCommand property of the adapter."

My question is this.  Is there any place that defines what these option
expect, or what calls they make to a DataAdapter implementation?  Any place
where this is documented in a useful fashion.  The documentation for all of
this is really sparse!!!

Help!  ;)
Raoul James - 24 Nov 2005 21:27 GMT
One more point I should add about issue #3.  I have a selectCommand defined
for the DataAdapter, so the error message that it is giving is technically
bogus.

>I am writing an ADO.NET provider for a specialized (non-SQL) data store,
>and wanted to support the options in the Data menu, specifically "Generate
[quoted text clipped - 27 lines]
>
> Help!  ;)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.