oldmanbernie
Programmer
On every row of a gridview, I want to add a button that will invoke a SQL Stored Procedure. One of the parameters I need for the stored procedure is on one of the columns of the gridview based on the corresponding row. How do I go about adding that parameter in the following form:
SqlCmd.Parameters.Add(new SqlParameter("@foo", ???);
SqlCmd.Parameters.Add(new SqlParameter("@foo", ???);