Validation in Business Layer

Posted by Yogitha under ASP.NET on 7/26/2012 | Points: 10 | Views : 1507 | Status : [Member] | Replies : 3
Hi,
I'm using three tier architecture. I want to validate textboxes from BL. Could you please help me with this.




Responses

Posted by: hareeshkumarkr-16190 on: 7/27/2012 [Member] Starter | Points: 25

Up
0
Down

Hi,

Ref This LInk : http://stackoverflow.com/questions/88541/business-objects-validation-and-exceptions

Yogitha, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vijayakumarp on: 7/27/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,

You cannot validate textbox value directly, you have create a business object and assign the textbox value to that business object , then validate ..

Thnaks

Yogitha, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 7/27/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Yogitha,
We can't validate textbox values in BL.You can write validation code in design it'll work correctly.

Thanks & Regards
Hari

Yogitha, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response