Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to save data from a webform
Message
From
11/12/2008 18:53:54
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
11/12/2008 17:16:32
Tegron Tegron
Platinum Technologies
Ohio, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
ASP.NET
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Oracle
Application:
Web
Miscellaneous
Thread ID:
01365474
Message ID:
01366779
Views:
11
>You can try passing parameters to the sproc that returns an empty dataset. For instance with a sproc that uses a single parameter, try passing the value '-1' to the sproc.
>
>Also try calling the newentity method of the business object (e.g. entity.NewEntity()).
>
>For editing I would try calling a custom method on the business object that returns the record that you want to edit. If you bind to the form, any changes made to the controls on the form should update the business entity properties. Just call the save method of the form or the SaveEntity method of the business object to save the data to the database.

Keep in mind that this.Save() in the form is not completely equivalent to oBizObj.SaveEntity(). The form save has additional mojo, but both will save the record.
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform