Chidiebere Mgbemena

Chidiebere Mgbemena

  • NA
  • 179
  • 14.2k

System.NullReferenceException

May 29 2020 8:49 PM
 
 
Hello guys
 
i got this error after i executed a bill update
here is the code underlined
  1. using System;  
  2. using System.Collections.Generic;  
  3. using System.Linq;  
  4. using System.Threading.Tasks;  
  5. using System.Windows.Forms;  
  6. namespace NSPM_Sales_Invoice  
  7. {  
  8. static class Program  
  9. {  
  10. /// <summary>  
  11. /// The main entry point for the application.  
  12. /// </summary>  
  13. [STAThread]  
  14. static void Main()  
  15. {  
  16. Application.EnableVisualStyles();  
  17. Application.SetCompatibleTextRenderingDefault(false);  
  18. Application.Run(new Login());  
  19. }  
  20. }  


please what could have gone wrong?

Answers (8)