Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Validation Ent Lib issue

Validation Ent Lib issue

Scheduled Pinned Locked Moved C#
helpwinforms
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    spankyleo123
    wrote on last edited by
    #1

    hi ppl , I am using Ent Lib for validation in my windows forms application. I have a set of comboboxes which are bound to a datasource. When the selectd value is null the validations happens on it. but when I select a item from the dropdown , I am getting a validation error as "The supplid value could not be converted to the target property type". I have defined a "Not Null Validator" for the combobox selected value in the enterprise library validation. Help would be appreciated. Thanks

    N 1 Reply Last reply
    0
    • S spankyleo123

      hi ppl , I am using Ent Lib for validation in my windows forms application. I have a set of comboboxes which are bound to a datasource. When the selectd value is null the validations happens on it. but when I select a item from the dropdown , I am getting a validation error as "The supplid value could not be converted to the target property type". I have defined a "Not Null Validator" for the combobox selected value in the enterprise library validation. Help would be appreciated. Thanks

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Maybe this will help Introduction to Validation Application Block[^]


      I know the language. I've read a book. - _Madmatt

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups