I do not recommend canned corn for a lot of reasons.  If you’re looking for a substitution for frozen corn, you can use fresh and cut it off the cob.