I am working with a solution that handles several projects with classes and a website, in a file Reports.aspx in website that represents a view is the following code
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="ObtenerEncabezadoReportePedido"
TypeName="com.heinsohn.fabricaSw.sodexho.Pedidos.model.enterprise.FachadaContabilizacion">
<SelectParameters>
<asp:SessionParameter Name="unNumeroPedido" SessionField="NumeroPedido" Type="Double" />
</SelectParameters>
</asp:ObjectDataSource>
the method ObtenerEncabezadoReportePedido return a datatable,
In the view logic aspx.cs uses the ObjectDataSource1 to fill a report
miFuente = new ReportDataSource("DataSet2_DataTable1", this.ObjectDataSource1);
the response datable became an ObjectDataSource, I need to modify fields of that return, and save some in variables. It's possible? can I convert that ObjectDataSource to a datatable and use it as I need? , can I later convert it back to an already modified ObjectDataSource?
Thank you very much for your help
