Is There Any Way I Can Clear All The Fields In A Form Vb Net.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sep410
    New Member
    • Jul 2008
    • 77

    #1

    Is There Any Way I Can Clear All The Fields In A Form Vb Net.

    Hi all,
    The form that I am working on has too many controls and whenever user adds new records in database I need to empty all the fields. Is there any way I can do it all in one command or I should do it for each of the controls individually?
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    You are going to have to do it manually.

    Make a Sub so you can reuse the code very simply.

    Comment

    • Sep410
      New Member
      • Jul 2008
      • 77

      #3
      Thanks.
      I will do that manually.

      Comment

      Working...