ASP programming help plz! how can i store a value from database into a variable?

SpaceGirl

New member
ok suppose i have a table, students with the fields(name, marks). In ASP coding I have a variable m, i want to store the value of marks of a particular student into the variable m.
con.Execute("Select marks from Students where"&name&"="name...
What do i do?
like i want to store the marks of a student, james into the variable, m(the marks r already stored in database table of course)
 
Back
Top