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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bind stored procedure

Status
Not open for further replies.

nastenka

Programmer
Oct 25, 2006
8
US
bind stored procedure with html form or with textbox - how do I do that?
 
I am using .NET version 2, Visual Studio 2005 version 8. The parameter that I am passing is a date, if that matters.
 
I am confused as to what your question is now. Do you want to bind a value returned from your sql to a textbox, or use the textbox as an input parameter?

 
I want to use textbox as input parameter, and to pull up from stored procedure the information bounded by the two textboxes, bounded by the input in these input pararameters, particulary - a date.
 
I belive with 2.0 you can modify the sqldatasource to use parameters from a number of objects, session variables etc.
 
The thing is that I want to show a part of procedure on screen that is between the two dates entered, can a session do that?
 
I use <formparameters> in sql, but I am not sure how to call the <formparameters> from text box or form. I know form can have action="<%= response.something %> , but I have never used it and not sure what is the syntax.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top