❓ Help Paano po mawala error na to? c# prog

Status
Not open for further replies.

PHC_Shion

Forum Veteran
1111.webp
 
alising 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();
}
 
alising 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();
}
ayaw pa din po
 
Need mo ba talaga gawing global variable yang Student?
I do suggest make a function that will get and return the students
 
Status
Not open for further replies.

About this Thread

  • 10
    Replies
  • 374
    Views
  • 4
    Participants
Last reply from:
dee-u

Online now

Members online
894
Guests online
699
Total visitors
1,593

Forum statistics

Threads
2,276,945
Posts
28,973,258
Members
1,229,658
Latest member
hihiwae
Back
Top