Hi,
You created a dataset and you created the stored procedures that will
manipulate this dataset and this is all OK.
But the error message reveals that you are using also ObjectDataSource,
which requires having a method for each database operation that call the
created stored procedures.
Please take a look at this
http://msdn2.microsoft.com/en-us/library/dx70zk47 for more information.
Best regards,
Mohamed Sharaf
MEA Developer Support Center
ITWorx on behalf Microsoft EMEA GTSC
--------------------
| From:
pa**@domainscanners.com
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Adding a dataset to vs2005 app_code directory
| Date: 11 Oct 2005 02:10:23 -0700
| Organization:
http://groups.google.com
| Lines: 23
| Message-ID: <11**********************@o13g2000cwo.googlegroups .com>
| NNTP-Posting-Host: 81.178.3.208
| Mime-Version: 1.0
| Content-Type: text/plain; charset="iso-8859-1"
| X-Trace: posting.google.com 1129021829 32291 127.0.0.1 (11 Oct 2005
09:10:29 GMT)
| X-Complaints-To:
gr**********@google.com
| NNTP-Posting-Date: Tue, 11 Oct 2005 09:10:29 +0000 (UTC)
| User-Agent: G2/0.2
| X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
Alexa Toolbar; .NET CLR 1.1.4322; .NET CLR 2.0.50215),gzip(gfe),gzip(gfe)
| Complaints-To:
gr**********@google.com
| Injection-Info: o13g2000cwo.googlegroups.com; posting-host=81.178.3.208;
| posting-account=nCGitg0AAAAvxAHS2Y-Y8auAS-g4JE-R
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TFEED02.phx.gbl!tornado.fa
stwebnet.it!tiscali!newsfeed1.ip.tiscali.net!news. glorb.com!postnews.google.
com!o13g2000cwo.googlegroups.com!not-for-mail
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:349885
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi,
|
| Im trying to add a dataset to the app_code directory using vs2005 \
| SQL2005 beta 2. When I run through the wizard I select the option to
| auto create new Stored Procedures (Select, update, delete, insert
| commands) after already specifying a very basic select command that
| consists of two fields.
| All procedures are created fine and i'm able to save the xsd file.
|
| Then I create a new gridview in which i use the xsd file object as my
| datasource.
| On execution of the gridview it binds fine and i can even click on the
| edit button, but when i update with new values the following error
| occurs:
|
| ObjectDataSource 'ObjectDataSource1' could not find a non-generic
| method 'NewUpdateCommand' that has parameters:
|
| This seems like a common problem so i'm sure it's not major. Anybody
| have any ideas?
|
| Thanks
|
|