Custom databind eval not working for Database

Discussion in 'Databases' started by shep1, Feb 19, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I've been using the same custom binding coding technique for a few years now. It is the <%# Eval ("reference", "{0}") %> technique. Most of it is simple Vis. Stud. drag-n-drop stuff. It works fine on my localhost and on my old hosting company.

    What's happening on the discountasp.net server: it isn't resolving the "page" reference. It is placing the database ID number instead of the specified record. The "page" is an Access database column that holds the list of image names.

    <asp:ImageButton ID="ImageButton1" ImageUrl='<%# Eval("page", "./images/thumbs/{0}") %>' PostBackUrl='<%# Eval("id","result.aspx?id={0}") %>' runat="server" />

    The select statement gets everything with a straight forward with select * stmt.

    Is there something new with IIS or has this method been deprecated?
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page