How can i send an error message from database layer to UI layer.....and hw the interaction is done between the layers...can any one tell me ...plzzzzzzzzz

Thank you,
Aravind

Hi Aravind,

There are lot of ways to attain interacation between the Layers and it totally depends on ur application architecture. The simplest way is to return the String error messages. you can use out parameters.

You can write ur own class that extends "EventArgs" and pass it as a parameter when u write the code using Delegates and Events.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.