Inserting data

I

Igor

Hello

Can anyone help me with this. I have two textboxes on a page (Name and
Surname) and a button "Save". I also have a stored procedure (tbh_SaveUsers)
that takes two parameters (@Name and @Surname). How can I bind the click
event of the button so the text from both text boxes will be passed over to
the stored procedure. I was using inline sql commands to do that and I
haven't got a clue how to do that with a stored procedure.

Kind regards
 
J

Jonathan Wood

Maybe there's another trick to this that I don't know about. But for me, I'd
simply add a handler for the button and write the code to call the stored
procedure with the values from text boxes.
 

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,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top