Data->Generate Dataset|Preview Data

R

Raoul James

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! ;)
 
R

Raoul James

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top