Hej "keysersoze" 
Kan ikke få det til at virke... 
Husk jeg bruge DW til at generere min asp kode. 
Her er min kode kan du ikke vise hvor det skal indsættes??
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include virtual="/testserver/zitahansen/Connections/zitahansen.asp" -->
<%
Dim Recslet
Dim Recslet_numRows
Set Recslet = Server.CreateObject("ADODB.Recordset")
Recslet.ActiveConnection = MM_zitahansen_STRING
Recslet.Source = "SELECT * FROM dbo.Galleri ORDER BY id DESC"
Recslet.CursorType = 0
Recslet.CursorLocation = 2
Recslet.LockType = 1
Recslet.Open()
Recslet_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
Recslet_numRows = Recslet_numRows + Repeat1__numRows
%>
<%
Dim MM_paramName 
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth
Dim MM_removeList
Dim MM_item
Dim MM_nextItem
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then
  MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If
MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""
' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
  MM_nextItem = "&" & MM_item & "="
  If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
    MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
  End If
Next
' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
  MM_nextItem = "&" & MM_item & "="
  If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
    MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
  End If
Next
' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> "") Then 
  MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> "")  Then
  MM_keepURL  = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
  MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If
' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
  If (firstItem <> "") Then
    MM_joinChar = "&"
  Else
    MM_joinChar = ""
  End If
End Function
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="
http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>wwwzitahansendk::admin</title>
<link href="/testserver/zitahansen/css/iframe.css" rel="stylesheet" type="text/css" />
</head>
<body>
<iframe id="menu" src="../pages/iframe.asp" width="700px" height="25" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>
 <hr class="spacer" />
 <h1>Vælg emne som skal slettes!!! </h1>
 <p><hr class="spacer" /></p>
 <br />
 <% 
While ((Repeat1__numRows <> 0) AND (NOT Recslet.EOF)) 
%>
   <table width="400" border="0" cellpadding="5" cellspacing="0" bgcolor="#333333" class="list">
     <tr>
       <td width="75" height="75" rowspan="3"><img src="/testserver/zitahansen/galleri/images/lille/<%=(Recslet.Fields.Item("Lille").Value)%>" /></td>
       <td width="89">Tilføjet den:</td>
       <td width="306" bgcolor="#333333"><%=(Recslet.Fields.Item("Dato").Value)%></td>
     </tr>
     <tr>
       <td colspan="2"><hr class="spacer" /></td>
     </tr>
     <tr>
       <td>Kommentar:</td>
       <td bgcolor="#333333"><%=(Recslet.Fields.Item("Kommentar").Value)%></td>
     </tr>
     <tr>
       <td height="0"> </td>
       <td height="0">Aktiveret: </td>
       <td height="0"><input <%If (CStr(Abs((Recslet.Fields.Item("Aktiveret").Value))) = CStr("1")) Then Response.Write("checked=""checked""") : Response.Write("")%> name="aktiveret" type="checkbox" disabled value="" /></td>
     </tr>
     <tr>
       <td height="0" colspan="3"><hr class="spacer" /></td>
     </tr>
     <tr>
       <td height="0" colspan="3"><a href="/testserver/zitahansen/galleri/admin_galleri_slet.asp?<%= Server.HTMLEncode(MM_keepURL) & MM_joinChar(MM_keepURL) & "id=" & Recslet.Fields.Item("id").Value %>">Slet</a></td>
     </tr>
   </table>
   <br />
   <br />
   <br />
   <% 
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  Recslet.MoveNext()
Wend
%>
</body>
</html>
<%
Recslet.Close()
Set Recslet = Nothing
%>