RSS Forums RSS
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 494 | Replies: 1
Reply
Join Date: Feb 2007
Posts: 29
Reputation: aravindkishore is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
aravindkishore aravindkishore is offline Offline
Light Poster

Question

  #1  
Jul 20th, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2005
Location: Mountain View, CA
Posts: 47
Reputation: kedar_challa is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 1
kedar_challa's Avatar
kedar_challa kedar_challa is offline Offline
Light Poster

Re: Question

  #2  
Jul 25th, 2007
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.
Thanks,

KedarNath Challa
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:13 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC