
-
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
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50


목차
ppt 파일에 1. E.R.D 2. 상세 기능 설명서 3. 주요화면 덤프 작성.
DB쿼리 C#소스 는 폴더 안에 있습니다.
DB쿼리 C#소스 는 폴더 안에 있습니다.
본문내용
create database driver_license
go
use driver_license
go
create table member -- member테이블 생성
(
member_sn int primary key,
member_id nvarchar(72),
member_pw nvarchar(20),
member_pwhint nvarchar(30)
)
go
create table category --category테이블 생성
(
cate_id int primary key,
cate_name nvarchar(20)
)
go
create table question -- question 테이블 생성
(
que_id int identity (1,1) primary key,
cate_id int foreign key references category(cate_id),
quiz nvarchar(500),
question_answer int
)
go
create table license -- license테이블 생성
(
license_num int identity(1,1),
license_date datetime default getdate(),
member_answer int,
answer int,
fk_member_sn int foreign key references member(member_sn) ,
fk_que_id int foreign key references question(que_id),
chk int
primary key(license_num,license_date,fk_member_sn,fk_que_id)
)
go
--------------------------------------------------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace DriverLicense
{
public partial class Form1 : Form
{
struct exam // 배열선언 ( 문제 출력 위해서 배열을 선언함 )
{
public int id;
public string question;
public int dap;
};
public string connectionstring = "Data Source=.;Initial Catalog=driver_license;Integrated Security=True";
public Form1()
{
InitializeComponent();
Form2 aa = new Form2();
}
private void button1_Click(object sender, EventArgs e) //회원가입 버튼
{
tabpass();
tabControl1.TabPages.Clear();
tabControl1.TabPages.Add(tabPage2); //회원가입 페이지 이동
}
go
use driver_license
go
create table member -- member테이블 생성
(
member_sn int primary key,
member_id nvarchar(72),
member_pw nvarchar(20),
member_pwhint nvarchar(30)
)
go
create table category --category테이블 생성
(
cate_id int primary key,
cate_name nvarchar(20)
)
go
create table question -- question 테이블 생성
(
que_id int identity (1,1) primary key,
cate_id int foreign key references category(cate_id),
quiz nvarchar(500),
question_answer int
)
go
create table license -- license테이블 생성
(
license_num int identity(1,1),
license_date datetime default getdate(),
member_answer int,
answer int,
fk_member_sn int foreign key references member(member_sn) ,
fk_que_id int foreign key references question(que_id),
chk int
primary key(license_num,license_date,fk_member_sn,fk_que_id)
)
go
--------------------------------------------------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace DriverLicense
{
public partial class Form1 : Form
{
struct exam // 배열선언 ( 문제 출력 위해서 배열을 선언함 )
{
public int id;
public string question;
public int dap;
};
public string connectionstring = "Data Source=.;Initial Catalog=driver_license;Integrated Security=True";
public Form1()
{
InitializeComponent();
Form2 aa = new Form2();
}
private void button1_Click(object sender, EventArgs e) //회원가입 버튼
{
tabpass();
tabControl1.TabPages.Clear();
tabControl1.TabPages.Add(tabPage2); //회원가입 페이지 이동
}
키워드
추천자료
★[A+레포트]소프트웨어 계획서(테이크 아웃 고객관리)★
기업은행 기업분석 및 경영전략
원유정제공정
[사회복지사][사회복지사 자격제도][사회복지정책 평가][사회복지개혁][사회복지서비스]미국,...
KTF SHOW 마케팅전략 성공사례
Introduction to Physical Therapy
취업규칙(정본)
[일본, 방송통신정책, IT정책]일본의 방송통신정책, 일본의 IT정책(정보기술정책), 일본의 교...
[졸업작품 최종 보고서] 자동 주차 시스템 (영상 처리, 컴퓨터 비젼, 초음파 센서, 모터 제어...
YTN vs 한국 경제 TV,한국 경제 TV 기업분석,한국 경제 TV 경영전략사례,YTN 기업분석,브랜...
전문간호사, 전담간호사, PA의 차이점
외국(미국, 영국, 독일, 일본, 중국, 싱가포르)의 부동산업과 부동산시장의 정보체계
미국과 일본의 사회복지사 자격제도
소개글