|
|
|
|
|
|||
![]() |
![]() |
|||||
| |
||||||
|
|
|||||
|
<% language = "vbscript" DIM currentPage, rowCount, i dim a,b,c,d,str,j str="select email from master where email='" & Request.Form("login") & "'" Set Con = Server.CreateObject( "ADODB.Connection" ) ConnectionString = "DRIVER=SQL SERVER;SERVER=server1;CATALOG=match;UID=mangal;PWD=mangalpasswd"Con.Open ConnectionString Set RS = Server.CreateObject( "ADODB.Recordset" ) RS.Open str, Con 'on error resume next do while not RS.eof for i = 0 to RS.fields.count - 1 if IsNull(RS.fields(i)) then response.write ("no data found") c = RS.fields(i) else c = trim(RS.fields(i)) end if RS.movenext next loop if trim(request.form("login"))<>trim(c) then %> | |||||