Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Fill ASP Drop Downs dynamically from a database in...
Author:
R LaPointe
E-mail:
Click to e-mail author
Submitted:
6/18/2001
Version:
ASP
Compatibility:
ASP
Category:
ASP
Views:
16566
Fill ASP Drop Downs dynamically from a database into a table cell.
Declarations:
'none
Code:
<% fp_sQry = "select * from tblOptions" set fp_rs = Server.CreateObject("ADODB.Recordset") fp_rs.Open fp_sQry, "DSN=OPTIONS" fp_rs.MoveFirst Do While Not fp_rs.EOF mOps = fp_rs2("Options") %>
<%=mOps%>
<% fp_rs.MoveNext Loop fp_rs.Close set fp_rs = Nothing %>
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement