如:用户名、密码。等..
怎么添加啊...
请给我举个例子好吗??
添加记录(Insert)
语法:
Insert into table(field1,field2,....) Values (value1,value2,....)
例:添加一作者是"cancer"的记录入book表:
insert into book (bookno,author,bookname) values (’CF001’,’cancer’,’Cancer无组件上传程序’)
同样,如果用到变量就如下:
strno=request.form("bookno")
strau=request.form("author")
strname=request.form("bookname")
strsql="insert into book (bookno,author,bookname) values (’"&strno&"’,’"&strau&"’,’"&strname&"’)"
[此贴子已经被作者于2005-12-21 15:59:53编辑过]