programming without bootloader

To upload bootloader , Iam using "AVRISP mkII IN-System Programmer". I didnot find any option to upload sketch, in arduino IDE with ICSP.
Here Iam trying to upload .pde file , is it ok ? or HEX like format? If like that how to convert to that format.

thank u