Viewing and uploading pictures from/to a database or a file server

  •  11-24-2005, 10:09 AM

    Viewing and uploading pictures from/to a database or a file server

    Hey
     
    I get this critical error and my picture dialog does not show up.

     
    Compiler error:
    CS0103: The name "ThumbUrl" does not exists in the class or namespace 'ASP.ThumbList_ascx'

    The method ThumbUrl does not exist anywhere. Can anybody help?

     <ItemTemplate>
     <img border="0" src="<%# ThumbUrl((String)(DataBinder.Eval(Container.DataItem,"Path"))) %>" alt="<%# String_Name%>: <%# DataBinder.Eval(Container.DataItem, "Name")%>&#10;&#13;<%# String_Size%>: <%# ( Convert.ToInt32(DataBinder.Eval(Container.DataItem, "Length")) /1024).ToString("n0")%> KB&#10;&#13;<%# String_Createddate%>: <%# DataBinder.Eval(Container.DataItem, "CreationTime") %>&#10;&#13;<%# String_Modifieddate%>: <%# DataBinder.Eval(Container.DataItem, "LastWriteTime")%>" onmouseover="Check(this,1)" onmouseout="Check(this,0)" onclick="insert('<%# DataBinder.Eval(Container.DataItem,"Url") %>')" style="BORDER: white 1px solid" align="center">
     </ItemTemplate>
View Complete Thread