CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> .NET

 Dynamically Creating Objects

Print topic Send  topic

Author Message

Posts: 4
Posted: 10/28/2008, 12:27 PM

I would like to execute the following code, but the InsertItem() method is not available. What is the correct way to dynamically create and persist an object?

idb2.AlbumTrackAssignment.Album_to_Track_viewItem item = new idb2.AlbumTrackAssignment.Album_to_Track_viewItem();
item["Album_id"] = new IntegerField("", Request.QueryString["Album_id"]);
item["addTrackId"] = new IntegerField("", Request.QueryString["addTrackId"]);
item["trackNumber"] = new BooleanField(Settings.BoolFormat, Request.QueryString["trackNumber"]);
int result = Album_to_Track_viewDataProvider.InsertItem(item);

View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Web Database

Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.