Hi,
I have an objectdatasource as shown:
<asp:ObjectDataSource ID="ObjectDataSource2" runat="server"
OldValuesParameterFormatString="original_{0}" SelectMethod="GetProducts"
TypeName="ProductsDALTableAdapters.ProductsDTTableAdapter"
MaximumRowsParameterName="">
<SelectParameters>
<asp:QueryStringParameter DefaultValue="" Name="Param2" QueryStringField="ID"
Type="Int32" />
<asp:Parameter DefaultValue="???" Name="Param1" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
This returns products that include (in a particular field) what is placed instead of ??? with the exception of the current product shown. It works fine when I type in the correct value, but the value should really be 'ProductName' from objectdatasource1 so that it works on every page.
Any help is much appreciated.