Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- Bootstrap
- Maven
- decompiler
- 웹뷰
- 컬럼명
- Java
- MSsql
- MS-SQL
- Redirect
- 자바스크립트
- javascript
- 자바
- 안드로이드
- Web Service
- Apache Lucene
- jsp
- varags
- TextBox
- Android
- 이클립스
- WebView
- MANTIS
- html
- C#
- scrollView
- asp.net
- 웹 서비스
- Eclipse
- SpringSource Tool Suite
- STS
Archives
- Today
- Total
목록2010/04/05 (1)
bboks.net™
C#에서 저장프로시저 사용하기
//Connection SqlConnection con = new SqlConnection(); con.ConnectionString = ConfigurationManager.ConnectionStrings["연결문자열"].ConnectionString; con.Open(); //Command SqlCommand cmd = new SqlCommand(); cmd.Connection = con; //사용할 프로시저 cmd.CommandType = CommandType.StoredProcedure; cmd.CommandText = "sp 이름"; //입력 파라미터 cmd.Parameters.AddWithValue("@param1", "1234"); cmd.Parameters.AddWithValue("@par..
C# | ASP.NET/C#
2010. 4. 5. 10:33