Utilize ADO.NET within Classic ASP script
问题 I'm writing some simple queries which return a single value and I'd like to get the ADO.NET ExecuteScalar method's behavior from Classic ASP's ADO libary. However, I'd prefer to not re-invent the wheel. Is it possible to instantiate ADO.NET's Command object within classic ASP? If so, how would I go about doing that? If I do need to re-implement this feature, what is the best way to do that? Here's what I'm trying to do (In VBScript): set cmd = Server.CreateObject("ADODB.Command") cmd