Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

The update() of my application doesnt perform any updates or deals wit

petrericardopetrericardo Posts: 1Member
Hi,

I have written an application to perform a simple CRUD operation i've used MVC design pattern... DAL was designed using the wizard.
I was able preserve the olds value of teh fields of EMployee class using a seperatemethod

PreserveOldValues()
{
//code
}

in the SearchByIndex() i call the fill method and i used the data to initialize the current Employee object also i preserve those values using
PreserveOldValues() the i call update() and internall i pass the preserved values......

However it doesnt do concurrencies and updates... please review my code and give me guidance to fix the problem....

all the required file are in attachemtn and database is in Data.zip file

ATTACHEMTN can be downloaded from here
http://www.quickfilepost.com/download.do?get=f339aa16aea48e9873fa9d9a48747a0e

cheers

Sign In or Register to comment.