devxlogo

A Quick Way to Generate the HTML <Option> Tag from RecordSet

A Quick Way to Generate the HTML <Option> Tag from RecordSet

Make sure the Recordset contains only two Fields in the following order:
1st Field – Field Value to be submitted to server
2nd Field – Field Value shown in UI

 Function Function GetHtmlOption(rs)Dim sHtmlDim FldLimiter,RowLimiterfLimit="'>"rLimit="Sample Output:

devx-admin

Share the Post: