用SQL语句啊 create database stuDB //创建数据库
create table stuMarks
(
ExamNo int identity(1,1) primary key,
stuNo char(6) not null,
writtenExam int not null,
LabExam int not null
)
go //创建表 更新就用update等sql语句 又不懂的继续追问
ADO.NET 与数据库交互