Upload/View.aspx |
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="View.aspx.cs" Inherits="Upload_View" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <html xmlns="http://www.w3.org/1999/xhtml"> |
Upload/View.Cs |
using System; // 각각의 컨트롤에 바인딩 // 인코딩에 따른 내용 표시 //[1] |
Upload/Modify.aspx |
<%@ Page Language="C#" AutoEventWireup="true" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <html xmlns="http://www.w3.org/1999/xhtml"> |
Upload/Modify.Cs |
using System; public partial class Upload_Modify : System.Web.UI.Page // 각각의 컨트롤에 바인딩 // 수정 페이지에서 추가 // 예전 인코딩에 따른 라디오버튼 리스트 선택 // DB 저장 UploadEntity ue = new UploadEntity(); int result = ub.ModifyUpload(ue); |
Upload/Delete.aspx |
<%@ Page Language="C#" AutoEventWireup="true" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <html xmlns="http://www.w3.org/1999/xhtml"> |
Upload/Delete.Cs |
using System; //이미 업로드된 파일명 얻기 int result = ub.DeleteUpload |
Upload/Search.aspx |
<%@ Page Language="C#" AutoEventWireup="true" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <html xmlns="http://www.w3.org/1999/xhtml"> |
Upload/Search.Cs |
using System; private void DisplayData() |
'.Net Project > ASP.NET 3.5 Sp1' 카테고리의 다른 글
34장 컨트롤 관련 용어정리 (메뉴, 트리뷰 등) (0) | 2009.10.15 |
---|---|
33장 유저 컨트롤과 서버컨트롤(User Control & Server Control) (0) | 2009.10.14 |
32장 ASP.NET Validation Control (FrmValidationSummary) (0) | 2009.10.13 |
31장 ASP.NET Validation Control (FrmCustom Validator) (0) | 2009.10.13 |
30장 ASP.NET Validation Control (FrmCustom Validator) (0) | 2009.10.13 |