Data binding order in ASP.NET
suppose following code:
<asp:FormView runat="server" ID="frmMain" DataSourceID="odsMain">
<ItemTemplate>
<asp:ObjectDataSource runat="server" ID="odsInner" />开发者_C百科
</ItemTemplate>
</asp:FormView>
<asp:ObjectDataSource runat="server" ID="odsMain" />
Which ObjectDataSource
would be executed? odsInner
or odsMain
? How can I change this order?
Thanks in Advance
精彩评论