Dictionary and SELECT issues

zhaozj2021-02-16  124

1. KEY must be a string type when using the Dictionary object: SET DIC = Server.createObject ("scripting.dictionary") DIC.Add Key, Value

When as a query, it is best to convert KEY as a string type to avoid type mismatch, and the appearance of Value appears: Call DIC.Item (CSTR (key))

2. Submitted SELECT Control: When the SELECT control has a multiple property, you must select it before the form is submitted. Otherwise, the value of the Select is empty, and the server cannot obtain the requested data. Unless you want to deliver your data, you may not choose Options.

转载请注明原文地址:https://www.9cbs.com/read-13706.html

New Post(0)