creating a ObjectDataSource using a DataTable in Profile

  • Thread starter Bruno Alexandre
  • 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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top