| | |
ASP Advanced Search
Please support our ASP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Well I am trying to search a database using ASP. I want to search all the names of persons in a database by their mobile number.
The mobile numbers are entered in a textarea and needs to seach them at once.
I could not figure out how can this be solved.
I am using the following code
and display the result here
i am not sure if this is the correct way to code this, may be someone can help me?
The mobile numbers are entered in a textarea and needs to seach them at once.
I could not figure out how can this be solved.
I am using the following code
ASP Syntax (Toggle Plain Text)
str= request.Form("txtbulk") splitarray = split(str,chr(13)) for i = 0 to ubound(splitarray) 'response.write splitarray(i) & "<BR>" rs.open "select * from tblcontest where mobile='" & splitarray(i) & "'",conn,1,3 next
and display the result here
ASP Syntax (Toggle Plain Text)
<table> <tr align="center"> <td><% response.Write rs(0) %></td> <td><% response.Write rs(1) %></td> </tr> </table>
i am not sure if this is the correct way to code this, may be someone can help me?
![]() |
Similar Threads
- ASP Search Database (ASP)
- 11 Power Search Tips to make your Google Experience easier (Search Engine Optimization)
- Where, oh where has my search button gone? (DaniWeb Community Feedback)
- How did Dani get the "Search" link to go directly... (Existing Scripts)
- estimated prices on websites (IT Professionals' Lounge)
Other Threads in the ASP Forum
- Previous Thread: Import excel records into ASP database
- Next Thread: positioning tables with asp
| Thread Tools | Search this Thread |
Tag cloud for ASP
archive asp asp.net aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection calendar changeable connection current database databaseconnection diagnostics dreamweaver excel fso html iis microsoft msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption server single specfic sqlserver sqlserverconnection toolkit web webserver windows7





