<%
    set con=server.createObject("adodb.connection")
    con.open Application("Product")
    'update information about
    
    con.execute "update cat set name='" & request("txtName") & "'  where id=" & request("id")
    
    con.close
    set con=nothing
    
    response.redirect("admin.asp?id=" & request("parent"))
    response.flush
%>