Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datasource and Procedure...

Status
Not open for further replies.

bartee

MIS
Mar 20, 2005
147
US
fairly new to asp.net. using vs 2005.

i set up an object datasource from a dataset. the dataset uses a stored procedure with a parameter.

the object datasource seems to test correctly.

i have a text box on the page. in the object datasource configuration (designer), i associated the value of this parameter to the value of the text box. when executed correctly, the procedure will insert a row with the value of the text box.

problem is, that when i load the page, enter a value in the text box and submit -- nothing happens. it's as if the procedure isn't executing.

is there something vital i'm missing? databinding code, etc?

thus far, i've set everything up in the designer.

any help is greatly appreciated.

thanks in advance.
 
Does your button have an "onClick" attribute defined in the HTML and as an event the code?

 
Currently, I don't have any code set in the "on click" event.

I tried to databind the object data source "on click" but it didn't work.

The only thing I really have set up is in the designer. I set the parameter value to use the control text box when I set-up the object data source.


Thanks for the reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top