ASP button to Execute Stored proc in table Adapter

ASP button to Execute Stored proc in table Adapter

am 26.06.2007 19:33:02 von Datasort

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(@RecordID)

Thanks in advance
--
Stewart Rogers
DataSort Software, L.C.