I get a NullReferenceException: Object reference not set to an instance of a object error
while running the current function. The Database jobs table,
 public Dictionary<uint ,JobsFacotry> Jobs = new Dictionary<uint,JobsFacotry>();
 internal void LoadJobs(IQueryAdapter dbclient)
 {      
    dbclient.setQuery("SELECT * FROM jobs");
    DataTable jobs = dbclient.getTable();
    if (jobs != null)
    {
      Jobs.Clear();
      foreach (DataRow rows in jobs.Rows)
      {
        Jobs.Add((uint)rows["job_id"], new JobsFacotry((uint)rows["job_id"],
                 (uint)rows["room_id"], (string)rows["job_name"],
                 (string)rows["jobbadge"]));
      }
     }
  }
the error is at the Rows when i add the field to the db but they are correct http://prntscr.com/3jd7ud
 
    