ErrorProvider

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KalariaNitya
    New Member
    • Apr 2008
    • 34

    ErrorProvider

    hi, all

    in windows application vb.net only

    if some fields must have values
    i.e. firstname, lastname

    i had done it through error provider

    if i don't enter values in those txtboxes then
    it show error

    if that errors are not sticky,
    means after that when i press submit button
    code of submit button get executed.

    if error on form then we can't enter that record
    till we enter valid data..

    do u have any idea?

    any help will be appriciated
  • Shashi Sadasivan
    Recognized Expert Top Contributor
    • Aug 2007
    • 1435

    #2
    Have you tried using the error provider component?

    When you hit the submit button (or save button)
    Run through and recheck if all the input boxes have been entered in correctly
    If not show an error using the error provider.

    then check if the errorprovider has shown any errors, if not then your form can be saved.

    So provide us code so that we can determine where you may have gone wrong

    Comment

    Working...