Author: Kevin_jajouei | Posted on: 6/6/2008 5:16:29 AM | Views : 543


Hi,

here is my problem:

I have 3 layer (BLL,DAl,UI) in a web application using asp.net:

in my asp page let say I have several controls such as grid, button,....

let say i have a calss in (BLL)�  called�  "School" and school has a member of class "Student":
� �  and there is a method called�  ConfigStudent() which basically just initialize the myStudent

public class School {
� � � � 
� � � � � � � � � �  public Student�  myStudent;
� � � � � � � � � � �  ....

� � � � � � � � � �  public void configStudent(){
� � � � � � � � � � � � 
� � � � � � � � � � � � � � � � � � � � � �  mySudent= new Student();
� � � � � � �  }
� � � 
}
� � 
in the Asp page :

� � � � � � � � � � � � � � � � �  In a button event of� �  btn1�  :
� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �  I create an instance of class school and set it student memeber:
� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 
� � � � � � � � � � � � � � � � � � � � � � � �

Go to the complete details ...