thanks for you interest,  i use J# in a windows application, inside the form
i add the table adapter previously generated in the datasetdesigner (it's
work in designing time, preview espected results, only in the dataset
designer), in a button_click i call the datatable object's method

ex.   mytableadapter.mymethod (int, string)

and when  start debugging  show this error


Error 1 Cannot find method 'insertarHCcoliseo(int, String)' in
'pruebasp.COLISEODataSetHChojacuadreTableAdapter' C:\Documents and
Settings\Administrador\Mis documentos\Visual Studio
2005\Projects\pruebasp\pruebasp\hojacuadre.jsl 121 3 pruebasp

please if need more info tell me, thanks again


On Tue, Oct 21, 2008 at 2:39 PM, Lisa Ashley Rafter <
[EMAIL PROTECTED]> wrote:

>
> Can you post your code & the error message?
>
>
> On Oct 21, 12:09 pm, coliseoit <[EMAIL PROTECTED]> wrote:
> > Hi,  I create a tableadapter using the dataset  designer, it's for
> > call a stored procedure in DB that have two parameters (int, string)
> > and return a int single value, the stored procedure create a new row
> > in a table in my DB, but when i call the method of the tableadapter by
> > code i receive an error, VS can't find the method,
> > I just want to call a stored procedure in my database sending two
> > parameters and receiving one, how can i do using dataset and table
> > adapter, my DB is SQL server express 2005
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/DotNetDevelopment

You may subscribe to group Feeds using a RSS Feed Reader to stay upto date 
using following url  

<a href="http://feeds.feedburner.com/DotNetDevelopment";> 
http://feeds.feedburner.com/DotNetDevelopment</a>
-~----------~----~----~----~------~----~------~--~---

Reply via email to