Click here to Skip to main content
12,746,945 members (30,687 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET

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?

Posted 7-Nov-12 2:27am
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
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[^]

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
Web02 | 2.8.170215.1 | Last Updated 7 Nov 2012
Copyright © CodeProject, 1999-2017
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