I built items with image the src
of image combine with path than in server and image name that in db .I need to combine them but in the HTML .
This is my code
<asp:ListView ID="ul_LeftMenu" runat="server" ClientIDMode="Static">
<ItemTemplate >
<li class="li-LeftMenu">
<img src="<%=Path %><%# Eval("Image") %>" /><a href="../<%# Eval("Url") %>"><%#Eval("Name") %></a></li>
</ItemTemplate>
</asp:ListView>
<%=Path %>
from server Side
<%# Eval("Image") %>
from database
How to make some think like this
<img src=" Url.Combine(<%=Path %> ,<%# Eval("Image") %>)"/>
Server code
public string Path { get; set; }
protected void Page_Load(object sender, EventArgs e)
{
Path = "/Master/Images/";
}