when i try this code
 public void ExcuteCommand(string stored_procedure, SqlParameter[] param)
    {
        SqlCommand sqlcmd = new SqlCommand();
        sqlcmd.CommandType = CommandType.StoredProcedure;
        sqlcmd.CommandText = stored_procedure;
        sqlcmd.Connection = sqlconnection;
        if (param != null)
        {
            sqlcmd.Parameters.AddRange(param);
        }
        sqlcmd.ExecuteNonQuery();
to execute it , it give me something went wrong like in this pic i use for this Datatables and parameters and stored procedure this is what show when i try to run the code
 
     
    