I have an ASP.NET Page. It creates a datasource like this:
<asp:ObjectDataSource ID="uxOrderSource" runat="server" SelectMethod="OrdersGetOne" TypeName="Vevo.Domain.DataSources.OrdersDataSource">
<selectparameters>
<asp:QueryStringParameter Name="orderID" QueryStringField="OrderID" Type="String" />
</selectparameters>
</asp:ObjectDataSource>
And then it uses the datasource here like this:
<asp:FormView ID="uxOrderView" runat="server" DataSourceID="uxOrderSource" CssClass="CheckoutCompleteCustomerFormView">
And then it references the email field in that datasource like so:
<%# Eval("Email") %>
My Problem is, way before this form is created on the page, I need to pull that email out and set a script var with its value, so that I can use it while the order line items are being iterated. Because for every order line item (which happens on the page BEFORE the form is created) I need to call a third party API and send in line item information, but that line item info also needs an email, and the email does not exist in the order line item datasource.