Hi all, i sorted out the problem last night... you dont need to ADD a new parameter as this will have already been declared...
The tags created are:
<Asp:SelectParameters>
<Asp:Parameters Name="UserID" Type"String">
etc
in the Page_Load sub you simply...
I have read that article already, it addresses how to change the value of parameters in a select statement but not in a stored procedure. The code must be very similar but i couldnt get it to work.
The select statement generates a tag:
<asp: selectparameter name"blabla" type"string">
whereas...
Thanks, but i'm not using as sqlconnection but a sqldatasource. I need to add/change parameter value of the tag associated with sqldatasource.
<Asp:parameter name="UserID" Type="String">
Cheers.
M.
--------------------------------------------------------------------------------
I am developing a webpage using Visual Web Developer Express. I have created a GridView linked to a stored procedure in an SQL Database that takes one parameter. I have tested it using a default valued for the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.