How to escape single quote in url query string with asp net
<p>I am building the url in my web application and I am trying to pass a name as a query string, Bob O'Neal, which to my surprise does not seemed to be escaped properly with UrlEncode and there seems to be nothing on the net which talks about how to handle this?</p>

<p>Is there an elegant solution to properly handle escaping single quotes in query strings?</p>
