IT 190

select 태그

select 태그에 option 추가하기 var stag = document.getElementById('selecttagid'); var opt = document.createElement('option'); opt.value = '값'; opt.text = '문자열'; opt.className = '클래스명'; stag.add(opt); 문자열 select 태그에 option 삭제하기 var stag = document.getElementById('selecttagid'); stag.options.remove(optionindex); select 태그에 option 여러개 삭제하기 var stag = document.getElementById('selecttagid'); for(var i=0; i

IT/html tag 2009.05.06

[derby] export import

export 방법 CALL SYSCS_UTIL.SYSCS_EXPORT_TABLE (NULL,'EMP','emp.dat','%',NULL,'UTF-8') 두번째 파라미터는 테이블, 세번째 파라미터, 네번째는 컴럼명 지정리고 하는거 같은데 테스트는 못해봄... 이렇게 생성하니깐 DERBY_HOME밑에 emp.dat 파일이 생성 되었다. import 방법 CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE (NULL,'EMP','emp.dat','%',NULL,'UTF-8',0) 파라미터 값은 같았다. jdbc에서 사용할때는 PreparedStatement ps=conn.prepareStatement( "CALL SYSCS_UTIL.SYSCS_EXPORT_TABLE (?,?,?,?,?,?)"); p..

IT/db 2009.01.18