🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.lang.csharp
Article #360

Re: string na url

#360
From: Marcin Hoppe
Date: Wed, 07 Jan 2004 16:37
16 lines
1651 bytes
Użytkownik "Kacza" <kacza_...@o2.pl> napisał w wiadomości
news:1h9v6m8m6ck8o.tvn3zi1u0c5x$.dlg@40tude.net...
> Witam,
> zna ktos moze jakas metode na zamiane zwyklego stringu na adres url ?
> Chodzi mi o zamiane znakow typu spacja, &, ? itd... Mam nadzieje, ze
> rozumiecie o co chodzi.
>
> Jest jakas gotowa metoda ?? A moze macie namiar na jakies inne
> rozwiazanie??

    Wydaje mi się, że metoda HttpUtility.URLEncode powinna Cię zadowolić.
Use MSDN Luke :).

--
Pozdrawiam!
Marcin
Technical Details
Message-ID: <bthck0$eat$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news-stoc.telia.net!news-stoa.telia.net!telia.net!news.nask.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail
References: <1h9v6m8m6ck8o.tvn3zi1u0c5x$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news-stoc.telia.net!news-stoa.telia.net!telia.net!news.nask.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail
From: "Marcin Hoppe" <marcin...@spamerzy.won.gazeta.pl>
Newsgroups: alt.pl.comp.lang.csharp
Subject: Re: string na url
Date: Wed, 7 Jan 2004 17:37:22 +0100
Organization: Portal Gazeta.pl -> http://www.gazeta.pl
Lines: 17
Message-ID: <bthck0$eat$1@inews.gazeta.pl>
References: <1h9v6m8m6ck8o.tvn3zi1u0c5x$.dlg@40tude.net>
Reply-To: "Marcin Hoppe" <marcin...@spamerzy.won.gazeta.pl>
NNTP-Posting-Host: wr111.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1073493442 14685 80.54.55.111 (7 Jan 2004 16:37:22 GMT)
X-Complaints-To: use...@agora.pl
NNTP-Posting-Date: Wed, 7 Jan 2004 16:37:22 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Priority: 3
X-User: marcin.hoppe
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit