set image src from c# asp.net code example Example: asp net img src path from database <img src= "@Url.Content(Model.ImagePath)" alt="Image" />