일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- CONVERT()
- 마이크로소프트
- 태그를 입력해 주세요.
- 자바스크립트
- MSSQL
- microsoft
- attr()
- SSRS
- ASP
- aspnet
- 윈폼
- 프로시저
- 오라클
- 엑셀
- jQuery
- oracle
- 이클립스
- Excel
- Winform
- windows
- replace()
- IIS
- 비주얼스튜디오
- javascript
- DataGrid
- c#
- 단축키
- 리포팅서비스
- 윈도우
- MS
- Today
- Total
목록분류 전체보기 (389)
DJ메탈짱™의 Free Style
private string StripHTML(string htmlString) { //This pattern Matches everything found inside html tags; //(.|\n) - > Look for any character or a new line // *? -> 0 or more occurences, and make a non-greedy search meaning //That the match will stop at the first available '>' it sees, and not at the last one //(if it stopped at the last one we could have overlooked //nested HTML tags inside a big..
// 2011/07/13 - LINQ query (SUM)var tSum =from p in db.TBSimulation // from절ywhere p.USERID == this.hdUSERID.Text && p.GROUPID == "A" // where절yselect p.RESULT; // select절y // Total Profit this.lblTPROFIT.Text = tSum.Sum().ToString();
// LINQ query (SUM) var tSum = from p in db.TBSimulation // from절 where p.USERID == "" // where절 group p by new { p.GROUPID,p.USERID } into grouping // group by select new // sum column { grouping.Key, Totalprice = grouping.Sum(p => p.RESULT) }; // sum값 바인딩 foreach (var grp in tSum) { this.lblTPROFIT.Text = grp.Totalprice.ToString(); }
Textbox 배경색 code-behind에서 변경하는 방법 this.txtUSERID.BackColor = Color.FromArgb(240, 240, 240); this.txtUSERID.BackColor = ColorTranslator.FromHtml("#F0F0F0");
DataGrid 안에 라디오버튼 한개만 선택하게 // 내용: 콜백목록에 있는 라디오버튼을 하나만 클릭되도록 함.// 작성자: 최보현(bhchoi@00db.co.kr)// 작성일: 2010/12/04functionSelectOne(rdo,gridName){/* Getting an array of all the "INPUT" controls on the form.*/all = document.getElementsByTagName("input");for(i=0;i{if(all[i].type=="radio") /*Checking if it is a radio button*/{/*I have added '__ctl' ASP.NET adds '__ctl' to all the controls of DataGrid.*..
NET Framework 다운로드 링크 http://msdn.microsoft.com/ko-kr/netframework/aa569264.aspx
C# TextBox Width 속성설정하기(%) this.TextBox1.Width = Unit.Percentage(76);
[Enterprise Library를 이용한 트랜젝션 처리] public bool TransactionTest() { using (DbConnection connection = db.CreateConnection()) { connection.Open(); DbTransaction transaction = connection.BeginTransaction(); try { // first db.ExecuteNonQuery(firstCommand, transaction); // second db.ExecuteNonQuery(secondCommand, transaction); // commit the transaction transaction.Commit(); return true; } catch { // Ro..
VS2005빌드시 (.NET Framework 2.0) 경고 발생하는 경우. 'System.Configuration.ConfigurationSettings.AppSettings'은(는) 사용되지 않습니다. System.Configuration.ConfigurationSettings.AppSetting (VS2003) --> System.Configuration.ConfigurationManager.AppSettings (VS2005)
웹 표준을 위해 프로그램을 만들고 있는데요. ASP.NET에서 리스트에서 특정행의 이미지버튼(서버컨트롤)을 클릭하면 그 행에 해당되는 값을 업데이트해야 합니다. 그래서 이미지버튼을 숨기고 html 버튼에다가 스크립트를 연결하여 실제 숨겨진 이미지버튼에 코딩이 수행되게 하는데... 이상하게도 사파리나 IE에서는 잘 동작하는데 유독 파이어폭스에서는 버튼이 동작을 하지 않네요. 아래 스크립트 부분입니다. //일정 결과 완료처리 function Edtresult(key) { ans = confirm("선택일정을 완료하시겠습니까?"); if (ans == true) { document.all.txtSCHID.value = key; return true; } else { return false; } } 일반적인 스..