PC Review


Reply
Thread Tools Rate Thread

Data->Generate Dataset|Preview Data

 
 
Raoul James
Guest
Posts: n/a
 
      24th Nov 2005
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!


 
Reply With Quote
 
 
 
 
Raoul James
Guest
Posts: n/a
 
      24th Nov 2005
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.

"Raoul James" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>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!
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strongly Typed DataSet -> Preview Data -> How to preview stored procedures with GUID parameter? Max2006 Microsoft ADO .NET 4 27th Jul 2007 09:14 AM
Generate DataSet ?? Not in my Data Toolbox! pete Microsoft VB .NET 3 4th Jul 2004 11:00 PM
How to generate dataSet XML schema by draggin & dropping data elements using VS. feng Microsoft VB .NET 0 7th Jun 2004 10:30 PM
How do I generate a data adapter for a typed dataset? Ken Varn Microsoft ADO .NET 3 21st May 2004 09:30 PM
"Generate Dataset" for custom data provider Peter Pohmann Microsoft ADO .NET 0 16th Sep 2003 10:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:30 AM.