Data validation in n-tier application?

G

Guest

Hi,

I would like to know like what is the best method of writing validation code
in the n-tier application. For example in Business Logic Layer How do I write
Data Validation Code, what are all I can write, How do I pass the Messae back
to the Presentation Layer if the Value is not correct?

In Data Access Layer what are all the things I can write, Any SAMPLE CODE
PLEASE?

In database also How do I write the Validation code and pass it through the
Data-Access Layer , Business Logic Layer, and Finally show it the user in the
presentation layer?

WHERE CAN I GET THE SAMPLE CODE PLEASE

BYE
regards,
ss
 

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

Similar Threads


Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top