有没有办法从模型中随机获取值?
public string Oku()
{
var query = (from b in db.banner orderby Guid.NewGuid() select new { b.banner_image_name }).Take(1);
return ("<img src='/banner_image/" + query.FirstOrDefault().banner_image_name.ToString() + "' width='154px' height='108px'/>");
}