본문 바로가기
반응형

개발언어347

DataView RowFilter Syntax [C#] http://www.csharp-examples.net/dataview-rowfilter/ DataView 의 필터 사용하기 (C# 예제사이트에 잘 정리되어 있다.) 프로젝트에서 사용하는 예 DataView dv_OrderSub1 = new DataView(데이타셋); dv_OrderSub1.RowFilter = String.Format("mfgubun like '{0}*' ", "용지대"); DataSet에서 원하는 것만 삭제 추출할때 http://www.go4expert.com/forums/showthread.php?t=986 Code: C# int RowCount = 0; foreach(DataRow dr in mydataset.Tables[1].Rows) { RowCount ++; if (txtS.. 2009. 9. 8.
ASP.NET 에서 System.Windows.Form.MessageBox.Show alway on Top ASP.NET에서 일반창을 띄우거나 Window MessageBox을 띄우면 웹페이지 뒤로 가는 문제가 있다.. 이건 웹팝업이외에는 쓰지를 못한다. 그래서 찾아보니 두가지 경우가 있었다. Web팝업을 만들어 아래와 같이 쓰거나 Windows MessageBox를 수정하여 Alway on Top (항상 위에) 나오게 만드는 방법이다. 이런것도 있다. http://www.codeproject.com/KB/aspnet/ASP.Net_MessageBox.aspx Website With MessageBox Interface ASP.NET의 WebForm을 이용할때 System.Windows.Form.MessageBox.Show를 이용하여 팝업을 처리할 겨우가 생긴다. 그런데 문제는 WebForm뒤로 숨어버리는 게.. 2009. 8. 15.
IE8로 업그레이드후 Visual Studio 2005 디버깅(debug)가 안될때 외국 블로그를 참고하였습니다. Upgrading to IE8 breaks debugging with Visual Studio 2005 Since Microsoft published IE8 as a Windows Update and my boss said he upgraded to it, I figured it was safe to upgrade to it as well. I’ve been enjoying the changes for a couple days now, but when I attempted to debug an ASP.NET application with Visual Studio 2005, it would no longer stop at a breakpoint. Pretty frustrati.. 2009. 8. 14.
Javascrpt EnterKey 대신 TabKey 로 변환 (possible to switching enter key with tab key?) 웹폼을 작성하다보면 일리리 컨트롤의 다음 포커스(Next Control Focus)를 지정하는 데 힘들다. 탭이 너무 많다면 일리리 keydown event를 지정하기 힘들지 않는가? 우린 프로그래머다 쉽게하자 possible to switching enter key with tab key? 여러 방법중 간단히 다음 컨트롤로 EnterKey(13)키를 누를때 TabKey(9)로 변환하는 Javascript를 이용하여 간단히 해결할 수 있다. 관련글은 http://forums.asp.net/p/969222/1217856.aspx 의 토론을 참고하였다. 그외 관련 여러가지 방법이 있다. http://yacoding.blogspot.com/2007/09/javascript-send-tab-key-on-ente.. 2009. 8. 11.
반응형