How to give a dynamic image source in asp.net mvc

How to give a dynamic image source in asp.net mvc many time developer stuck in the problem to retrieve the url from database and bind it to <img> tag . lets supoose we have view bag named url that containig the url of image ViewBag.url = “~/img/test.jpg”;   we can… read more →