Binding Eval with an ImageURL in ASP.NET

前端 未结 4 2102
庸人自扰
庸人自扰 2021-01-21 19:35

I\'m trying to bind an image using Eval() with VB.NET and ASP.NET, but am running into issues:

Code snippet



        
4条回答
  •  庸人自扰
    2021-01-21 20:19

    Can you just write (and forgive me if this is wrong) if it is constant:

    
    

    And if it isn't:

    
    
    //And in your codebehid:
    public property ImagePath { get; set; }
    ...
    ImagePath = "...";
    

提交回复
热议问题