Attachments
-
You do not have permission to view the full content of this post. Log in or register now.
ayaw pa din potry mo e upper case yung "stud"
public frm_student_entry() {
InitializeComponent();
}
public Student _student;
void YourFunction(){
_student = new Student();
}
ayaw pa din poalising mo yung new kasi nasa loob ka ng main saka ilagay mo sa baba yang global variable mo.
like this
C#:public frm_student_entry() { InitializeComponent(); } public Student _student; void YourFunction(){ _student = new Student(); }
rereceive po kasi sya ng other formNeed mo ba talaga gawing global variable yang Student?
I do suggest make a function that will get and return the students
Thank gumana napoDapat public din yung Student class mo.
ayaw pa din po
Public property siya, magkaiba ang accessibility kaya nag-e-error.Need mo ba talaga gawing global variable yang Student?
I do suggest make a function that will get and return the students