![]() |
Inserting data
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 |
Re: Inserting data
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. -- Jonathan Wood SoftCircuits Programming http://www.softcircuits.com "Igor" <igorm@live.com> wrote in message news:7700F283-0642-4E79-A93A-80AE9E89F653@microsoft.com... > 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 |
| All times are GMT. The time now is 08:35 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.