creating a ObjectDataSource using a DataTable in Profile

  • Thread starter Thread starter Bruno Alexandre
  • Start date Start date
B

Bruno Alexandre

Hi guys,

I want to create an ObjectDataSource from a DataTable in Profile

web.config
<profile>
<properties>
<add name="CartItems" type="System.Data.DataTable" />
</properties>
</profile>

in the aspx page

<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
DataObjectTypeName="Profile.CartItems"
TypeName="System.Web.Profile.ProfileInfo"
SelectMethod=""
UpdateMethod="">
</asp:ObjectDataSource>

How can I build a function to use in SelectMethod and UpdateMethod?
--


Thank you in Advance.

Bruno Alexandre
(a Portuguese in Denmark)
 
Back
Top