Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to save data from a webform
Message
 
À
04/12/2008 08:05:28
Deepesh Ms
Alif Technologies India Pvt Ltd
Inde
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Oracle
Application:
Web
Divers
Thread ID:
01365474
Message ID:
01365529
Vues:
9
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform