-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRegistrationF.aspx.cs
More file actions
39 lines (31 loc) · 961 Bytes
/
RegistrationF.aspx.cs
File metadata and controls
39 lines (31 loc) · 961 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class RegistrationF : System.Web.UI.Page
{
//이메일 중복 검사 변수
//static bool isIdDuChecked = false;
MemberDao mDao;
protected void Page_Load(object sender, EventArgs e)
{
}
//회원가입 동작시 Dao로 회원가입 저장하기
protected void BtnRegistration_Click(object sender, EventArgs e)
{
/*
if(!IsPostBack)
{
//라벨이름.Text = "ID 중복검사를 먼저 실행 해주세요";
//return;
}
*/
MemberDo mDo = new MemberDo(txtEmail.Text, txtPasswd.Text, txtAddress.Text, txtPhone.Text,
txtName.Text, txtCareer.Text, txtPart.Text);
mDao = new MemberDao();
mDao.RegisterFreeUsingQuery(mDo);
Response.Redirect("login.aspx");
}
}