이미지를 등록해주세요 * 이미지는 명함, 반명함 사진으로 확장자는 gif, jpg, png 등으로만 올려주시기 바랍니다. 간단하게 만들었던 이미지 업로드 컨트롤 *.ascx 파일로 만들어두면 편하다. 참 급조로 만든거라 상당히 부실한 -_ -;;; 요래 코딩하면 안되는뎅;; 반성 반성~ 만약에 업로드하는 부분만 메소드로 뺀다면 ... /// /// 이미지를 업로드 한 후 저장된 파일 경로를 반환한다. /// /// 업로드 컨트롤 /// 과목코드 /// protected string ImageUpload(FileUpload FileUp, int SubCode) { string ret = ""; // 반환할 문자열 string upDir = ""; // 업로드할 파일 저장 위치 string fName = "..
RUBY로 win32 OLE 를 이용해 ADO 연결하는 방법을 아래 소개합니다. 출처 : http://rubyonwindows.blogspot.com/search/label/sqlserver require 'win32ole' class SqlServer # This class manages database connection and queries attr_accessor :connection, :data, :fields def initialize @connection = nil @data = nil end def open # Open ADO connection to the SQL Server database connection_string = "Provider=SQLOLEDB.1;" connection_..
이하 내용은 구글의 루비 그룹에서 발췌한 내용입니다. ^ ^ CD-ROM을 여는 흥미로운 내용이 있어서 가져와봤네용~ Windows App.를 개발하실 일 있을때 사용하시면 될 것 같습니다. On May 5, 8:15 pm, "Eder Quiñones" wrote: > Hi, anyone knows what is the problem with this function, i believe i did > everything right, but it just does not open the cd-rom, maybe the > problem is in the part "InvokeVerb". Any help would be highly > appreciated. > > def ejectDrives > > @wb..
너무 간단해서 공부에 도움은 안되지만 -_ -;; 루비로 아직 할줄 아는게 없어서 99단만 한번 짜봤다.. for i in 2..9 print i, "단\n" for j in 1..9 print i, " * ", j, " = ", i * j, "\n" end print "\n" end 역시나 짧은 코드 -_ ;; '99단.rb' 처럼 파일로 저장한 후 ruby 99단.rb위 코멘드로 실행해 보자~
Web 2.0 리치 클라이언트(Rich Client)가 대세인 요즘 도대체 어떤 라이브러리가 좋을지 참 선택하기 힘든 상황이다. 1. Yahoo UI! http://developer.yahoo.com/yui/ 2. JQuery http://jquery.com/ 3. Prototype.js + scriptaculous http://www.prototypejs.org/ http://script.aculo.us/ (참고 : http://cafe.naver.com/requirements.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=330 , 4. DoJo http://dojotoolkit.org/ 참고 http://www.mozilla.org/rhino/ http://www...