Display form and read the database from the same page
am 28.09.2005 13:50:22 von karenmiddleolHello All
I want to display a form with the following three fields:
CustomerID
ShipCity
ShipCountry
with a Execute button. Once the Execute button is pressed I want in the
same ASP page to query the local SQL Server Northwind database Orders
table and display the matching records from the following query like :
Select * from Orders where CustomerId = FormFieldCustomerId or
ShipCity = FormfieldShipCity or
ShipCountry = FormfieldShipCountry
Can somebody please share the ASP page code whereby in one page I can
get the formfields validate the form fields and execute the query and
display the results in the form of a HTML table all in the same page. I
do not want to have a HTML form field and a ASP page called from the
HTML page I want all to be in one page.
Thanks in advance
Karen