Inserting data

  • Thread starter Thread starter Igor
  • Start date Start date
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
 
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.
 
Back
Top