1/29/2008 1:51:28 PM
Trouble attaching parameters to repeater
I know this is a newbie question, but I've been reading etc for days and cant work it out.
I have no c# experience and thereore have just been using the portal engine and trying to read stuff. I have created a stored procedure both via the site manager and SQL Server but can't pass parameters. I've entered the sp name into the query name and added the f following to the code tab, but receiving an error stating my sp requires parameter @param1 which was not supplied. Were am I going wrong?
protected void Page_Load(object sender, EventArgs e)
object[,] params = new object[1,2];
params[0,1] = "@param1";
params[0,2] = "26";
this.WebControlID.QueryParameters = params;
Thankyou for any help