An application for a continuance must be in writing unless otherwise ordered by the court. Such application must specify the ground or grounds upon which it is based and must be filed by the state's attorney or counsel for the defendant, as the case may be.
N.D.C.C. § 29-19-08