M
MrHelpMe
Hello experts,
O.k I give up on this. I have an LDAP query from asp working
correctly. It is returning data fine. Now I need to know how to take
this data and then submitt it into the database. Can this be done in
one page and is there any other way to do this without putting a submit
button on a page. Almost like a file that I can pass to the user and
he can click it to insert into a database. My way of do it is to
simply to put a submit button on the page and when the user hits submit
the values selected will go to the database. However the only thing on
this page is a submit(kinda useless).
This is part of my code
Now on my ldap_second how to I take the values and submit them to a
database. Your help is appreciated.
O.k I give up on this. I have an LDAP query from asp working
correctly. It is returning data fine. Now I need to know how to take
this data and then submitt it into the database. Can this be done in
one page and is there any other way to do this without putting a submit
button on a page. Almost like a file that I can pass to the user and
he can click it to insert into a database. My way of do it is to
simply to put a submit button on the page and when the user hits submit
the values selected will go to the database. However the only thing on
this page is a submit(kinda useless).
This is part of my code
Code:
<form name="form1" method="post" action="ldap_second.asp">
<TABLE BORDER = 2>
<TR><TD>Name</TD>
<TD>Mail</TD>
<TD>GivenName</TD>
<TD>Address</TD>
</TR>
<%
Do Until objRecordSet.EOF%>
<%
Dim N
Dim M
Dim GN
N = objRecordset("Name")
M = objRecordset("Mail")
GN = objRecordset("GivenName")
SA = objRecordset("StreetAddress")
response.write "<TR>"
response.write "<TD>" & N & "</TD>"
response.write "<TD>" & M & "</TD>"
response.write "<TD>" & GN & "</TD>"
response.write "<TD>" & SA & "</TD>"
response.write "</TR>"
%>
<% objRecordSet.MoveNext
Loop
%>
</TABLE>
<p><input type="submit" value="Submit" name="B1</p>
Now on my ldap_second how to I take the values and submit them to a
database. Your help is appreciated.