Flash和Asp数据库的结合应用(2) '找到符合条件的数据 If oRS.EOF Then '如果数据指针已到底 Response.Write "NameLast=Not+Found&NameFirst=Not+Found&Position=Not+Found" ' 呵呵,那么NameLast就是没有找到符合条件的数据咯 Else Response.Write "NameFirst=" & Server.URLEncode(oRS("NameFirst")) & "&NameLast=" & Server.URLEncode(oRS("NameLast")) & "&Position=" & Server.URLEncode(oRS("Position")) '找到的话就是找到咯(废话嘛。。。) End If oRS.Close Set oRS = Nothing oConn.Close Set oConn = Nothing '关闭并清空数据库对象