Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to save data from a webform
Message
 
To
04/12/2008 08:05:28
Deepesh Ms
Alif Technologies India Pvt Ltd
India
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:
01365529
Views:
8
>hi Kevin
>
>I have a simple data entry web form with a user name and password text fields.I have to perform insert and update with MM.NET's built in function
>'Save()' .I have done the insertion with the following code.
>
> this.oUser = (cUsers)this.RegisterBizObj(new cUsers());
>
> oUser.GetAllEntities();
>
> oUser.NewRow();
>
> oUser.Entity.UserName=txtName.text;
>
> oUser.Entity.Password=txtPass.text;
>
> this.Save(oUser);
>
>I cannot perform the save operation without calling the 'GetAllEntities()' function.But this function will get whole data from my user table and I am not using any of these data .Is there any proper way to perform save without calling the GetAllEntities()?also would you please explain how to perform editing of a single data row without datasets.Please help me .....
>Thanks

Have you tried oUser.GetEmptyDataSet() rather than GetAllEntities()?
Linda Harmes
HiBit Technologies, Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform