You can not do like this in .aspx page
The alternative is you can write the following code in ur .aspx.cs page.
sample code to do in pageload event
protected void Page_Load(object sender, EventArgs e)
Image.ImageUrl = hdID.Value;