Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#ASP.NET
Hello,
 
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?
 
Thanks
Posted 7-Nov-12 1:27am
Comments
faisal23 at 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

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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 ASP.net:
 
http://www.asp.net/downloads/starter-kits/employee-info[^]
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 9,225
1 OriginalGriff 5,395
2 Peter Leow 4,100
3 Maciej Los 3,540
4 Abhinav S 3,333


Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 7 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid