fork download
  1. using WR_ID;
  2.  
  3.  
  4. protected override void Page_Load(object sender, EventArgs e)
  5. {
  6. base.Page_Load(sender, e);
  7. WUID wr_id = new WUID();
  8. string IDD = wr_id.WR_UID(formID, SheetNo, "TEIAPMT420_W").ToString(); //錯誤發生在這裡, 並未將物件參考設定為物件的執行個體
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(4,20): error CS1525: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
prog.cs(7,14): error CS1530: Keyword `new' is not allowed on namespace elements
prog.cs(7,17): error CS1525: Unexpected symbol `WUID', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
Compilation failed: 3 error(s), 0 warnings
stdout
Standard output is empty