How should i do to get the rs(0) value?
..................
sql="select * from studentinfor"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open sql,connstr,3,2
rs.addnew ( rs(0) is an auto number from 1, step is 1 )
rs(1)="123"
rs(2)="abc"
rs(3)="picture_" & rs(0) (but the rs(3) get nothing, why i can not get rs(0) value )
(rs(3) photo file)
rs.update
rs.close
set rs = nothing
.....................
How should i do to get the rs(0) value?
..................
sql="select * from studentinfor"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open sql,connstr,3,2
rs.addnew ( rs(0) is an auto number from 1, step is 1 )
rs(1)="123"
rs(2)="abc"
rs(3)="picture_" & rs(0) (but the rs(3) get nothing, why i can not get rs(0) value )
(rs(3) photo file)
rs.update
rs.close
set rs = nothing
.....................
How should i do to get the rs(0) value?