Click here to Skip to main content
15,851,242 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have a default page. In that I have two buttons namely Edit and Save.

I have 5 textboxes in that page. At first instance, I will insert the values in the textbox and save it by clicking on save button. Later if I click on edit button, I will get the values what I had entered previously. Then I want to update the same record on save button click. How can I do it?

faisal23 7-Nov-12 7:33am    
You are going wrong bro you can save data but when you are edit some record you have to fetch data on the basis of some id. And on save button you can perform both operation save and update.

1 solution

It sounds like you're looking for a guide to building a basic CRUD application (Create Read Update Delete), so have a look at the stuff on[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900