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

Status
Not open for further replies.
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
  • 384
    Views
  • 4
    Participants
Last reply from:
dee-u

Trending Topics

Online now

Members online
658
Guests online
1,404
Total visitors
2,062

Forum statistics

Threads
2,295,316
Posts
29,097,259
Members
1,206,801
Latest member
Cyr_lee
Back
Top