validation control

  • Thread starter Thread starter Seelan
  • Start date Start date
S

Seelan

Hello folks,
I have made a dynamic control from a database table. Now I want to
add validation to it from the same database table. Can some one please
assist me with this. Any useful tutorial links would help too...
Thanks
 
Seelan,

What kind of validation are you trying to do? The problem with the way
that datasets are meant to be used in .NET is that the data that you select
your list from when the control is created might have been changed by the
time you want to persist that data back to the database. Because of this,
you should be validating your data in a transaction which includes the
update before you commit the changes.

Hope this helps.
 
I'm a newbie at c# programming. So, articles on how to actually code
this would help...
I am loading dynamic controls from the database. and that table also has
corresponding validation coloumn. Example in row 1 i have: textbox
with validation property isRequired. How would I implement this in C#
coding?
 
Testing the email notification

Seelan said:
I'm a newbie at c# programming. So, articles on how to actually code
this would help...
I am loading dynamic controls from the database. and that table also has
corresponding validation coloumn. Example in row 1 i have: textbox
with validation property isRequired. How would I implement this in C#
coding?
 
Back
Top