We would like to use those new cool features of Asp.Net 2.0 like the
ObjectDataSourc e in our project. I tried few basics examples and its
work well.
Let's say I have a page that displays a detail of a product. On my
page I have a product name and a short description. So I declare an
ObjectDataSourc e in my page
<asp:ObjectData Source ID="productData " runat="server"
SelectMethod="G etProduct"
TypeName="MyRed mond.Gumsnet.We bUi.UiProcess.C ontroller.Produ ctContentContro ller">
<SelectParamete rs>
<asp:Paramete r DefaultValue="1 0" Name="productID "
Type="Object" />
</SelectParameter s>
</asp:ObjectDataS ource>
Now I can bind this ObjectDataSourc e to any data control, but in this
case I want to display information at many places in my page using this
single ObjectDataSourc e. So I want to be able to programmaticall y
access ObjectDataSourc e values, but the Question is HOW?
Alain Vezina
av*****@dieselm arketing.com