---
title: "Response.Write"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/5972-response-write"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "PlayerOne"
published: "2000-07-03T08:20:00.000Z"
updated: "2000-07-03T08:48:00.000Z"
replies: 5
views: 286
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/5972-response-write"
---

# Response.Write

## #1 — PlayerOne, 2000-07-03T08:20Z

Hur får jag till det här scriptet

```
If Connection.Errors.Count=0 Then
Response.Write "<font face='Verdana' Size='2'>Du har lagt till kategori <strong>" & Request.Form("KatId") & </strong></font>			
end if
```

Det är efter Request.Form det blir fel, förståeligt nog

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

## #2 — Ricki, 2000-07-03T08:38Z

Teta det här:

\<KOD\>
If Connection.Errors.Count=0 Then
Response.Write "\<font face='Verdana' Size='2'\>Du har lagt till kategori \<strong\>" & Request.Form("KatId") & "'"\</strong\>\</font\> 
End If
\</KOD\>

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

## #3 — Ricki, 2000-07-03T08:39Z

Teta det här:

```
If Connection.Errors.Count=0 Then
Response.Write "<font face='Verdana' Size='2'>Du har lagt till kategori <strong>" & Request.Form("KatId") & "'"</strong></font> 
End If
```

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

## #4 — Ricki, 2000-07-03T08:41Z

Det blev för mycket, det ska bara stå:

```
If Connection.Errors.Count=0 Then
Response.Write "<font face='Verdana' Size='2'>Du har lagt till kategori <strong>" & Request.Form("KatId") & "</strong></font> 
End If
```

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

## #5 — Ricki, 2000-07-03T08:44Z

Ledsen att det blev lite grötigt. Nu har jag testkört scriptet och det fungerar, så här är det som är rätt:

```
If Connection.Errors.Count=0 Then
Response.Write "<font face='Verdana' Size='2'>Du har lagt till kategori <strong>" & Request.Form("KatId") & "</strong></font>"
End If
```

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

## #6 — PlayerOne, 2000-07-03T08:48Z

Det funkade i alla fall...!

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

---

Tråden på webben: https://www.webforum.nu/amne/asp/5972-response-write
