일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- Redirect
- 이클립스
- 웹뷰
- WebView
- 자바
- 자바스크립트
- Eclipse
- decompiler
- varags
- Apache Lucene
- scrollView
- javascript
- MANTIS
- SpringSource Tool Suite
- C#
- jsp
- 웹 서비스
- Java
- TextBox
- Android
- STS
- Bootstrap
- 안드로이드
- 컬럼명
- html
- MSsql
- asp.net
- MS-SQL
- Web Service
- Maven
- Today
- Total
목록C# (23)
bboks.net™
C#의 listview를 사용하다 보면 열을 선택하면 맨 앞의 컬럼만 highlight된다. 이는 listview의 FullRowSelect property를 true로 설정함으로써 해결 할 수 있다. myListView.FullRowSelect = true;
C#에서 웹 페이지의 Reqest를 요청하고 그 결과를 반환하는 클래스 public class HttpGet { private HttpWebRequest request; private HttpWebResponse response; private string responseBody; private string escapedBody; private int statusCode; private double responseTime; public string ResponseBody { get { return responseBody; } } public string EscapedBody { get { return GetEscapedBody(); } } public int StatusCode { get { return..
Java의 System.currentTimeMillis() 와 동일한 효과를 내는 C# code public long CurrentTimeMillis() { DateTime Epoch = new DateTime(1970, 1, 1); return (long)(DateTime.UtcNow - Epoch).TotalMilliseconds; } C#에서는 기준점이 0001-01-01이지만 Java에서는 1970-01-01이다. 또한 C#은 local date를 사용하지만 Java는 UTC date를 사용한다. 따라서 기준일을 1970 년 1월 1일로 설정하고 시간도 UTC로 얻어와 계산하면 된다. [출처] Java System.currentTimeMillis() equivalent
Cause A public or protected type contains a public or protected method that uses the VarArgs calling convention. Rule Description The VarArgs calling convention is used with certain method definitions that take a variable number of parameters. A method using the VarArgs calling convention is not Common Language Specification (CLS) compliant and might not be accessible across programming language..