Posted on: 6/7/2013 1:08:06 PM | Views : 384

Hi in sample.aspx, I have the below code,
I want to replace blank with "-" and replace with / to "-"
  <% dim sp as string%>   <% sp = Replace(Eval("Name"), " ", "-")%>    <% sp = Replace(sp, "/", "-")%>        <a href='/store/<%=sp %>/<%# Eval("Id") %>'>  
Error is on the aove statement the erors says BC30451: 'sp' is not declared. It may be inaccessible due to its protection level.

Thanks
...

Go to the complete details ...