how to binding the string's url in gridview?
<pre><code>private string getHtml(string key)
{
  string htmlStr = "";
  StreamReader f = new StreamReader("c://one.html");            
  string str = f.ReadToEnd().ToString();
  if (str.ToUpper().IndexOf(key.ToUpper()) &gt; -1)
  {
    htmlStr = Request.Url.PathAndQuery;
  }
  return htmlStr; 
}
</code></pre>

<p>here i am getting the string from the html page.. but inside the if condition i need to get the url of the string(key) and i have to bind the url's in gridview as links.... <code>htmlStr = Request.Url.PathAndQuery;</code> this code not working</p>
