A
avezina
We would like to use those new cool features of Asp.Net 2.0 like the
ObjectDataSource 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
ObjectDataSource in my page
<asp:ObjectDataSource ID="productData" runat="server"
SelectMethod="GetProduct"
TypeName="MyRedmond.Gumsnet.WebUi.UiProcess.Controller.ProductContentController">
<SelectParameters>
<asp
arameter DefaultValue="10" Name="productID"
Type="Object" />
</SelectParameters>
</asp:ObjectDataSource>
Now I can bind this ObjectDataSource to any data control, but in this
case I want to display information at many places in my page using this
single ObjectDataSource. So I want to be able to programmatically
access ObjectDataSource values, but the Question is HOW?
Alain Vezina
(e-mail address removed)
ObjectDataSource 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
ObjectDataSource in my page
<asp:ObjectDataSource ID="productData" runat="server"
SelectMethod="GetProduct"
TypeName="MyRedmond.Gumsnet.WebUi.UiProcess.Controller.ProductContentController">
<SelectParameters>
<asp
Type="Object" />
</SelectParameters>
</asp:ObjectDataSource>
Now I can bind this ObjectDataSource to any data control, but in this
case I want to display information at many places in my page using this
single ObjectDataSource. So I want to be able to programmatically
access ObjectDataSource values, but the Question is HOW?
Alain Vezina
(e-mail address removed)