ASP.NET调用多参数存储过程的简便方法 以下是网上的代码: Set objConn = Server.CreateObject("ADODB.Connection") objConn.open "Driver={SQL Server};server=(local);uid=sa;pwd=txwl006;database=tempdb;" Set objComm = Server.CreateObject("adodb.command") objComm.Parameters.append objComm.CreateParameter("@name1",200,1,50,"李四") objComm.Parameters.append objComm.CreateParameter("@age1",200,1,50,32) objComm.CommandType = 4 objComm.ActiveConnection = objConn objComm.CommandText = "query_info" Set objRs = objComm.execute If not objRs.eof Then Response.write objRs(1) End if Set objRs = Nothing Set objComm = Nothing objConn.close Set objConn = nothing