|
|
|
|
|
| | |
|
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Searching databases using HTML forms... |
From: |
umesh |
Date: |
10/2/2000 5:11:39 PM |
IP: |
12.25.60.250 |
hi there,this is how you do itlet us say you want to search for info about a person whose name is say umesh you need to follow this code1.create a html page which has a form, a text field and a submit button.(say one.html)2.for the form set the action="two.asp"3. when you view this page in the browser it will have a text box that you will use to enter a name.4.on two.asp write<ûLanguage=VBScriptìÎt dbconn=Server.CreateObject("ADODB.Connection")Set rsname=Server.CreateObject("ADODB.Recordset")sql="Select * from table_name where name=" |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|