❓ 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
  • 381
    Views
  • 4
    Participants
Last reply from:
dee-u

Trending Topics

Online now

Members online
559
Guests online
2,790
Total visitors
3,349

Forum statistics

Threads
2,294,730
Posts
29,092,997
Members
1,207,501
Latest member
sjvkuma
Back
Top