ASP button to Execute Stored proc in table Adapter

Is it possible to add a stored proc to a table adapter and execute the proc
inside an ASP button click event?

I have a table adapter called Claimers and a sp called AddWatch. On the
onclick event I would like to call the table adapter and execute the sp.
Note that the sp does not return records.


Something like:

..onclick
Dim ClaimersAdapter As New ClaimersAdapters.ClaimersTableAdapter()
Claimers.AddWatch( [at] RecordID)

Thanks in advance
--
Stewart Rogers
DataSort Software, L.C.
Datasort [ Di, 26 Juni 2007 19:33 ] [ ID #1748776 ]
Webserver » microsoft.public.inetserver.asp.db » ASP button to Execute Stored proc in table Adapter

Vorheriges Thema: Recordset Paging - Not Showing records on next page
Nächstes Thema: Commenting in Sql