[Dev] BackEnd

This is another walkthrough, like my last post, demonstrating how to use some new Visual Studio 2010 features available in the October VS2010 CTP. It provides steps to follow in the CTP build; however, you may find that you are able to give feedback on the descriptions below without actually downloading and executing the steps yourself. Please leave your feedback on this feature set at the end o..
Column names If a column name contains any of these special characters ~ ( ) # \ / = >
webtest 튜토리얼 Webtest는 XML을 이용해 작업을 스크립트한 다음 그 스크립트 내용대로 작업을 진행할 수 있는 web 자동화 테스트 툴이다. 기존 테스트를 수행하기 위해 개발자가 직접 수행한 반복적인 비 생산적 작업을 Webtest을 이용하면 쉽고 빠르게 테스트를 진행 할 수 있다. 다음은 WebTest를 이용한 테스트 결과 화면이다. 그림 1 webtest의 테스트 결과 페이지 상기 화면은 단순히 페이지를 33번 연속으로 방문한 결과를 나타낸 페이지이다. 이렇게 canoo의 webtest는 작업 결과를 html화면으로 출력해 보다 쉽게 결과를 확인할 수 있게 도와준다. 설치 Canoo의 Webtest 설치 방법은 어렵지 않다. Webtest의 공식 홈페이지에 접속해 다운로드하면된다 . 그림..
SqlDataSource를 사용하지 않고 .cs에서 페이징으로 구성할때는 아래와 같이 PagePropertiesChanging 이벤트를 추가해줘야한다. protected void Listview_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e) { DataPager dp; dp = ((ListView)sender).FindControl("DataPager1") as DataPager; dp.SetPageProperties(e.StartRowIndex, e.MaximumRows, false); ListView.DataSource = GetDataSet(); ListView.DataBind(); } GetDataSet()은 사용..
-- Aspx // 네임스페이스 등록 -- CS using RashidPager; // 페이지당 행의 수 db.AddInParameter(dbCmd, "@PageSize", DbType.Int16, PagerSubmittedCase.RowPerPage); // 현재 페이지 Number db.AddInParameter(dbCmd, "@CurrentPage", DbType.Int16, PagerSubmittedCase.CurrentPageNo); // 총 데이터 수(return value) db.AddOutParameter(dbCmd, "@TotalCount", DbType.String, 5); // 총 데이터 수를 Pager 클래스의 TotalRow의 변수에 값을 배정한다 PagerSubmittedCase..
foreach (Control c in Page.Form.Controls) { switch (c.GetType().ToString()) { case ("System.Web.UI.WebControls.TextBox"): paramters.Add(c.ID, ((TextBox)c).Text.ToString()); break;
IE8에 의해서 간간히 발생하는 오류로써 처음에는 무슨 오류가 싶어서 하루 종일 소스만 보면서 파고 들었는데 결국 "..WebResource.axd?d=XXXXXXX" d 파라미터 뒤에 QueryString이 중간에 짤려있었다..ㅠㅠ 간단한 해결 방안은!!!!!!!!!!!!! head안에 정의 되어 있는 메타태그를 Page_Load 함수로 옮겨놓는 것이다.ㅋ Response.ContentType = "text/html"; Response.Charset = "utf-8"; 요렇게 말이다.!! 브라우저의 문제였단 말인가..ㅜㅜ 아..머리아포~~ 참고 사이트 http://blog.soft-cor.com/?tag=/scriptresource.axd http://alterprocedure.net/articles/..
이 포스트를 읽기 전에 꼭 URL Rewriting in ASP.NET 포스트를 먼저 읽어보도록 하자. 프로그램에서는 무엇이든지 간에 해당 기술의 기본원리를 알고 이해해야지만 더 좋은 적용방법과 응용방법이 생각날 것이고 문제에 직면했을때 더 빠른 해결방법을 찾아낼 수 있을것이다. 단지 주어진 기술, 또는 Copy & Paste는 자기발전에 전혀 도움이 되지 않거니와 개발자라고 하기에 챙피한 일이지 않은가? 그럼 모두 앞 포스트를 숙지하였다고 생각하고 앞 포스트의 내용을 기초로 하여 실제 사용가능한 URL Rewriter를 만들어 적용하여 보자. 아마도 아래 내용을 이해했다면 HttpModule을 이용한 URL Rewriter를 만드는건 어렵지 않을 것이다. 만약 어렵다면 제가 만들어놓은 어셈블리(.NET..
JaeYa_Lee
'[Dev] BackEnd' 카테고리의 글 목록 (5 Page)