gdspeare
asked on
SQL DataAdapter with parameter
I have a sqldatasource that needs a parameter passed to it.
the attached is not working.
ideas?
thanks
the attached is not working.
ideas?
thanks
Session["PID"] = lbx_PIDs.SelectedValue.ToString();
SqlDataAdapter da = new SqlDataAdapter(sds_DataForPID.SelectParameters.Add("@PID", TypeCode.Char, Session["PID"].ToString()), sds_DataForPID);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
sds_DataForPID.SelectParam