Procedure or Function 'usp_SendEmails' expects parameter '@SchedId', which was not supplied
<p>Here’s my code behind:</p>

<pre><code>protected void gvviewapproval_RowUpdated(object sender, GridViewUpdatedEventArgs e)
    {
        using (SqlConnection cn = new SqlConnection(Utilities.ConnectionString()))
        {
           using (SqlCommand cmd = new SqlCommand("usp_SendEmails", cn))
            {
                cn.Open();
                cmd.CommandType = CommandType.StoredProcedure;
                cmd.ExecuteNonQuery();
            }
        }

        gvviewapproval.DataBind();
    }
}
</code></pre>
