int testNum = 1000;
testNum = String.Format("{0:n0}", testNum );
Response.Write(testNum);
예상되는 출력: 1,000
testNum = String.Format("{0:n0}", testNum );
Response.Write(testNum);
예상되는 출력: 1,000
'ASP.NET' 카테고리의 다른 글
LastIndexOf (0) | 2011.04.13 |
---|---|
Exists_ 파일명 출력하기 (0) | 2011.04.13 |
MasterPage + 이전 Form값 사용하기(페이지간게시) (0) | 2011.04.06 |
asp.net 에서 action 페이지이동 / Request.Form 폼값받기 (0) | 2011.04.01 |
자바스크립트_ xmlRequest (0) | 2011.03.17 |