---
title: "Byt ut rad?"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/6655-byt-ut-rad"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "-torlejf-"
published: "2000-09-21T19:45:00.000Z"
updated: "2000-09-21T20:22:00.000Z"
replies: 1
views: 204
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/asp/6655-byt-ut-rad"
---

# Byt ut rad?

## #1 — -torlejf-, 2000-09-21T19:45Z

Hej!
hag denna kod.

```
<%
Session("Bildatabas") = "driver={Microsoft Access Driver (*.mdb)};dbq=" & Server.MapPath("mindatabas.mdb")
Set Connection = Server.CreateObject("ADODB.Connection")
Connection.Open Session("Bildatabas")
SQL = "Select distinct(Bil) from Bilar where Bil <> ''"
Set RS = Connection.execute(SQL)
While NOT RS.EOF
bil = RS(0)

Response.write "<b>" & bil & "</b><br>"

RS.MoveNext
Wend
%>
```

Nu undrar jag hur man byter ut raden:

```
Response.write "<b>" & bil & "</b><br>"
```

Mot nån sån här eller liknande:

```
<a href="meny.asp?bil=& bil &"><img src="& bil &.jpg"></A>
```

Hoppas ni förstår!

Permalänk: https://www.webforum.nu/p/6655

## #2 — bohlin, 2000-09-21T20:22Z

response.write "\<a href=""meny.asp?bil=" & bil & """\>\<img src=""" & bil & ".jpg""\>\</A\>"

Permalänk: https://www.webforum.nu/p/246738

---

Tråden på webben: https://www.webforum.nu/amne/asp/6655-byt-ut-rad
