To convert an ester to an amide, react with ammonia !The lone pair on the nitrogen will attack the C that is doublebonded to the Oxygen.Check me out: http://www.chemistnate.com