文档介绍:NBA球员管理系统
24
《NBA球员管理系统》
《数据库原理》课程设计报告
——NBA球员管理系统设计与实现
学 NOT NULL,
spg float NOT NULL,
bpg float NOT NULL,
primary key (PID,Pname)
)
球员表现表
create table behave(
PID char(10) NOT NULL,
Pbe smallint NOT NULL,
Pname char(25) NOT NULL
primary key (PID)
)
基于VB的UI设计
Form1窗口
Private Sub Add_Click()
= False
= False
= True
= True
End Sub
5
Private Sub Cancel_Click()
= True
= True
= False
End Sub
Private Sub Command1_Click()//打开form2窗口
End Sub
Private Sub Del_Click()
Dim res As Integer
res = MsgBox("确实要删除此行吗?", vbExclamation + vbYesNo + vbDefaultButton2)
If res = vbYes Then
If = True Then
End If
6
End If
End Sub
Private Sub Edit_Click()
("Pno") = Trim()
("Pname") = Trim()
("Prage") = Trim()
("Pcapital") = Trim()
("PID") = Trim()
("TID") = Trim()
("Tname") = Trim()
= True
= True
= False
7
End Sub
Private Sub Exit_Click()
End
End Sub
Private Sub First_Click()
End Sub
Private Sub Last_Click()
End Sub
Private Sub Next_Click()
If = True Then
End If
End Sub
Private Sub Previous_Click()
8
If = True Then