accessing object properties using eval in aspx markup
<p>I have a page load event where i retrieve quote data for a security which I wish to display on my page</p>

<pre><code>Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
    If Not Page.IsPostBack Then
        'request the stock information for the shareholder info area
        Dim equity As New StockPrices
        equity.StockSymbol = "MSFT"
        'fill the equity object from the string returned from the quote request
        Dim quotestring As String() = GetQuoteLatest(equity.StockSymbol.ToString()).Split(New Char() {","})

        With equity
            .LastSale = quotestring(1)
            .IssueName = quotestring(15)
            .Open = quotestring(5)
            .High = quotestring(6)
            .Low = quotestring(7)
            .Volume = quotestring(8)
            .MarketCap = quotestring(9)
            .NetChangePct = quotestring(11)
        End With
        Dim elist As New List(Of StockPrices)
        elist.Add(equity)
  End If
End Sub
</code></pre>

<p>I want to populate a tag value using Eval, can I do that?</p>

<pre><code> &lt;span class="stockpricefont"&gt;&lt;i&gt;Last Sale:&lt;/i&gt;&lt;b id="lastsale"&gt;&lt;%=Eval the elist object property here but i cant syntax it properly if at all%&gt;&lt;/b&gt;&lt;/span&gt; &amp;nbsp;&lt;img id="netchangearrow" src="Images/WebImages/ArrowDown.png" height="25" width="20" alt=""/&gt;
</code></pre>
