[求帮助]设计注册表单
1、 设计一个注册表单,至少包含6个输入项,并做验证,至少3个以上。2、 设计一个数据库student,创建一个表格S(stu_id,stu_name,age,gender,tel)并输入5条记录数据,设计一个窗体,显示表格内容,并能对表格进行增加、删除、修改、查询等。
程序代码:
create table student
( stu_id int not null auto_increment comment '顺序ID',
stu_name varchar(32) not null,
age int,
gender int,
tel varchar(11) not null;
primary key (stu_id
));
INSERT INTO student
(stu_id,stu_name,age,gender,tel)
VALUES
('name',1,18,'11111111111'
)
DELETE FROM [student]
WHERE stu_id=1
UPDATE student SET stu_name='names',age=0 ,gender=20,tel='22222222222' where stu_id=1
select * from student
程序 楼主 自己想下吧,不会可以到网上收下。