VVoVe:

codice:
dim X(9),Y(9)

for i=0 to 8
X(i)=request.form("X" & (i+1) )
Y(i)=request.form("Y" & (i+1) )
next

sql = "UPDATE layout set stato='true', UserID='"&ID&"' WHERE" 
for i = 0 to ubound(X)
if i>0 then sql=sql & " or"
sql = sql & " (X=" & X(i) & " AND Y=" & Y(i) & ")"
next

response.write sql
response.end
dovrebbe tirarti fuori una query fatta così:
codice:
UPDATE layout set stato='true',UserID='xxx' where (X=A and Y=A1) or (X=B and Y=B1) etc etc