Click here to Skip to main content
12,079,132 members (46,113 online)
Rate this:
 
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 2:27am
Comments
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

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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web03 | 2.8.160212.1 | Last Updated 7 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100