Reset all form fields in code behind

K

Karl Seguin

While true, I rather get an understanding of why the OP wants to do this.
It's possible that what he/she is asking how to do, isn't what he/she wants
to do.

Karl
 
F

Fetty

I have a form that is used to add records and edit current ones. I need to
reset the form when I am adding a new record.
 
G

Guest

if what you need is just to reset the form and have it ready for data input,
then I think souri's suggestion if fine. But if you have a message such as
"Record ... added!" to communicate with your user after each adding /
updating, then
all I can think of is to do it manually!
Not sure if this is the best practice.
 

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,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top