'Study'에 해당되는 글 27건
- 2011/12/20 :: [css] textbox 영문 우선, 한글 우선 정하는 방법
- 2011/07/13 :: A테이블을 B테이블의 값으로 UPDATE
- 2011/07/12 :: ASP.NET 웹 페이지 간에 값 전달
- 2011/06/03 :: window.close() 시 확인창이 뜰경우
- 2010/12/28 :: DataGrid에 Cell클릭시 이벤트 발생
- 2010/11/15 :: 이미지에 그림자 효과를 줘보자
- 2010/11/11 :: 버튼 클릭했을때 확인창 띄우기(코드부에서)
- 2010/10/21 :: CDBM Syntax
- 2010/10/21 :: MS SQL 2000에서 RANK 구현
- 2010/10/18 :: JavaScript parseInt함수
Study
2011/12/20 13:23
[요구]
input 텍스트박스에 영문 우선이나 한글 우선을 정하고 싶다.
[해결]
input에 style="ime-mode:active" 속성항목을 추가한다.
active: 한글모드 변환 후 이후 한글모드
inactive: 영문모드 변환 후 이후 영문모드
disabled:
영문모드만 가능
auto: 자동
[예제]
<input type="text" style="ime-mod:active">
[출처] [css] textbox 영문 우선, 한글 우선 정하는 방법|작성자 가능성
Study/.net
2011/07/12 13:30
Study
2011/06/03 11:37
opener=window;
window.close();
TAG
window.close()
Study/.net
2010/12/28 17:52
코드부에서 아래와 같이 작성해서 구현
for(int i=0; i<DataGrid2.Items.Count; i++)
{
for(int j=1; j<=3; j++)
{
DataGrid2.Items[i].Cells[j].Attributes.Add("onclick","javascript:goDetailPop('"+txtBaseDate1.Text+"','"+txtBaseDate2.Text+"','"+Ds.Tables[0].Rows[i][6].ToString().Trim()+"','');");
DataGrid2.Items[i].Cells[j].Attributes.Add("onmouseover","this.style.cursor='HAND'");
}
}
Study
2010/11/15 18:35
이미지 생성할때 그림자 넣어서 만들라고 했다가
어디서 퍼다 삽입함
-ㅅ-
스타일부분
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
.shadow{
border:1px solid silver;
font:10pt arial;
position:relative;
display:inline;
background:white;
z-index:100
}
.shadow_inner{
overflow:hidden;
position:absolute;
top: -1000px;
filter:alpha(Opacity=10); /*modify to change the shade solidity/opacity, same as below*/
opacity:0.1; /*firefox 1.5 opacity*/
-moz-opacity:0.1; /*mozilla opacity*/
-khtml-opacity:0.1; /*opacity*/
z-index:10
}스크립트 부분
Study/.net
2010/11/11 09:52
button1.OnClientClick = "return confirm('삭제하시겠습니까?');";이라고 조회되길래 시도하였으나 .Net Framework 버전이 낮아서 OnclientClick 기능이 없음
그래서 Attribute 추가하여 구현
button1.Attributes.Add("onclick", "return confirm('삭제하시겠습니까?');");
Study
2010/10/21 13:14
CDBM
[ OPERATOR TRANSACTION ] 화면에서
/DIS PGM ZGGB0A0 : 죽었나확인 ( PCB = STOP )
/STA PGM ZGGB0A0 : 살리고
/DIS PGM ZGGB0A0 : 살았나확인 ( PCB = BMP )
TAG
CDBM
Study/mssql
2010/10/21 13:11
select
(
select count(*) + 1
from tmp_rank b
where b.visits > a.visits
) as ranking
, pno
, visits
from
tmp_rank a
order by ranking
Study
2010/10/18 19:48
찾다보니 '0#'형식일 경우 8진수로 판단하나봐.. 된장
parseInt(numstring, [radix])
numstring 부분 :
바꿀 숫자를 나타낸 스트링
radix 부분 :
없어도 됨.
2에서 36 사이의 숫자.
numstring에 나타난 숫자의 base 진수.
radix가 없는 경우에는
만약 numstring이 '0x'로 시작하면 hexidecimal 16진수이고
만약 numstring이 '0'으로 시작하면 octal 8진수이다.
나머지 형태는 모두 decimal 10진수 이다.
참고