Show/Edit on one page: Best option

M

ma

Hello,

I want to have a page that displays the fields of a record of a database.
When user press 'Edit' button, he would be able to edit the data. What is
the best way to do this?



What I can suggest is to show the fields using label controls and when user
press 'Edit', replace the labels with TextBox controls (setting visible
property of Labels to false and TextBox to true).



Is there any better way to do this?



Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top