General information
Category:
The Mere Mortals .NET Framework
Title:
How to save data from a webform
Environment versions
Network:
Windows 2003 Server
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only