일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- scrollView
- TextBox
- javascript
- Android
- MANTIS
- 자바스크립트
- html
- MSsql
- asp.net
- STS
- 자바
- 웹 서비스
- 안드로이드
- MS-SQL
- Java
- varags
- WebView
- jsp
- Apache Lucene
- Eclipse
- Web Service
- Redirect
- 웹뷰
- C#
- Maven
- Bootstrap
- SpringSource Tool Suite
- decompiler
- 이클립스
- 컬럼명
- 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..