Nighthawk0712
I am needing to put an href of href=\http://pcsoweb.com/ into the following code. I am getting a page not found with the local. The data resides on the link provided in the first sentence.. I have tried in several areas, but it still wants to go to the local source. Any help would be great.
I have to make a guess here... tHere is only one place where I can find http://pcsoweb.com. I assume this is a problem since you are removing the "~" and you really want the fully qualified URL. This is a relative path to current site.
ltNews.Text += "<a title=\"\" href=" + Convert.ToString(row["ItemUrl"]).Replace("~", "") + ">";
Maybe this is what you're looking for...
ltNews.Text += "<a title=\"\" href=\"http://pcsoweb.com/" + Convert.ToString(row["ItemUrl"]).Replace("~", "") + "\">";