프로그래밍/ASP.NET

//[1] 변수 선언부 string strCon = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; string strSql = "select * from Food_type order by typ_no desc"; //[2] 커넥션 SqlConnection objCon = new SqlConnection(); objCon.ConnectionString = strCon; objCon.Open(); //[3] 커멘드 SqlCommand objCmd = new SqlCommand(); objCmd.Connection = objCon; objCmd.CommandText = strSql; objCmd.CommandType =..
macOS 기본셀이 bash 에서 zsh 셀로 변경됨. (2019년 부터) Visual Studio Code에서 cmd + shift + p (명령파렛트) 열기 Shell Command: Install 'code' command in PATH 실행하면 됨.. 하지만, 위의 경고가 발생하는 경우..직접 배치파일을 만들어야 한다. 터미널을 열고 다음과 같이 입력 vim ~/.zshrc 문서가 열리면 아래코드를 추가해서 저장함. code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;} vi 에디터를 사용할 줄 모르면 문서가 열리면 영문자 i 를 누른다. ( Insert 상태로 변경됨) 복사해서 붙여 넣는다. 이후 shift + ; 해..
Visual Studio 2010 에서 HTML5 인텔리센스를 지원되는지 궁금해서 구글링해봤다. 우선 아래 사이트에서 패치 파일을 다운로드를 받자 http://visualstudiogallery.msdn.microsoft.com/en-us/d771cbc8-d60a-40b0-a1d8-f19fc393127d 패치파일을 설치한 후엔 Visual Studio 메뉴에서 Tools >> Options 선택한 후 문서타입을 HTML5 로 선택하면 된다. 캡쳐화면에는 HTML5 문서타입임을 나타내는 DOCTYPE html> 가 없네.. 단순하게 HTML5 인텔리센스로만 동작하네. 패치파일 설치 후 html_5.xsd 파일이 생성된 위치입니다. HTML5 에서 대해서 알고 싶으시면 아래 링크를 참조하시기 바랍니다. ht..
http://code.msdn.microsoft.com/cs2010samples Visual C# 2010 Samples The Visual Studio 2010 RTM Samples are now live! Samples and documents for C# 4.0 can be found on the Downloads page. The CSharpDynamic samples include several projects showing how to use Dynamic with Office, IronPython and other technologies. There is also a covariance and contravariance example, and an example show how to use ..
http://code.msdn.microsoft.com/cs2008samples >> 2008 코드 샘플을 꼭 봐야 한다..새롭게 추가된 내용이 많아서 꼭 확인하고 가야한다. Visual C# 2008 Samples Our first release on CodeGallery contains updates to the official C# samples that ship with Visual Studio 2008. Language Samples Download Link Please click here or turn to the downloads page to download the samples. We have created a set of language samples to help you get fam..
Visual Studio 2010 and .NET 4 Released The final release of Visual Studio 2010 and .NET 4 is now available. Download and Install Today MSDN subscribers, as well as WebsiteSpark/BizSpark/DreamSpark members, can now download the final releases of Visual Studio 2010 and TFS 2010 through the MSDN subscribers download center. If you are not an MSDN Subscriber, you can download free 90-day trial editi..
http://www.dofactory.com/Patterns/Patterns.aspx
에그티비
'프로그래밍/ASP.NET' 카테고리의 글 목록