triggering SQLDATASOURCE insert or update programatically?

J

Jason

Is there any way to initiate a sqldatasource insert from code in place
of the button with commandname=insert?

I have a formview with a datasource with an insert command button.
When the button is selected the insert is performed as expected..

Say I have another button on the form with no command syntax that calls
a some sub. Is there any way to call the same sqldatasource insert
function/button from code? in debug when I look at the onclick sub that
I am calling when the insert button is pressed, i see all the
properties of the button, like commandname=insert, but that sub is not
the real deal and is infact not even doing anything.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top