I'm guessing that by 'code', rockmgroshman is asking for way to generate a Sududo grid. One that he can pencil in a puzzle to. Or perhaps one that he can copy/paste a puzzle into. Suducue
http://www.sudocue.net/download.phpis a software that will do this. You also need to download an sdk kit for it to work.
SudokuExplainer
http://diuf.unifr.ch/people/juillera/Sudoku/Sudoku.htmldoes this as well. Although it refuses to take your word for candidates and generates its own when you paste in a puzzle.
Or perhaps 'code' means he wants a method of pasting a puzzle into the forum to ask a question about it. How bout it, rock?