Different objects send in links
I a have a page is which is fulfil by user and given a login name as the login is unique so if the login is already there then there is error and must back to give another login but how I can store other information
<%
strSQL = "SELECT * FROM Employee WHERE LoginID ='" & request("login") & "' "
set objRS2 = objDataConn.execute(strSQL)
if not objRS2.eof then
[u]page = "AddEmp.asp?Login=" & request("login") & "name=" & request("name")
Response.Redirect(Page)</u>
else
strSQL2 = "Insert into Employee(LoginId,Password, Name , FatherName, NIC, Tlelephone, Mobile , Email, Address, Department, Designation, Salery, IsAdmin ) values ('" & request("Login") & "','" & request("Password") & "', '" & request("name") & "', '" & request("fname") & "', '" & request("nic") & "', '" & request("Tele") & "', '" & request("Mob") & "', '" & request("email") & "', '" & request("Address") & "', '" & request("Department") & "','" & request("Designation") & "', '" & request("Salery") & "' ,'" & request("IsAdmin") & "')"
set objRS2 = objDataConn.execute(strSQL2)
end if
Response.Redirect("Admin.asp")
%>
the underline are not given the feild of name.
Is there any other solution or wat
Please send me immediately
Already thanks for your coopration
Love 4 all
__________________
(*_*)
Numan
--------------------------------------------------
It is not important what you get But important is how you got it
|