Uhm, I like to think that as long as you are trying nothing is inappropriate. At my grandpa's funeral, we had some people show up that honest to god just did not have nice, fancy clothing. We appreciated the thought more than thinking OMG THEY ARE NOT WEARING DRESS SHOES OMG DISRESPECT!!!!!!!!
But, if at all humanly possible wear better shoes than sneakers.