Beispiel #1
0
 public static void InsertEmployee(ResourceObj emp)
 {
     l.Add(emp);
     ResourceWriter rsxw = new ResourceWriter(path);
     for (int i = 0; i < l.Count; i++)
     {
         rsxw.AddResource("obj" + i.ToString(), l[i]);
     }
     rsxw.Close();
 }
Beispiel #2
0
        public static void InsertEmployee(ResourceObj emp)
        {
            l.Add(emp);
            ResourceWriter rsxw = new ResourceWriter(path);

            for (int i = 0; i < l.Count; i++)
            {
                rsxw.AddResource("obj" + i.ToString(), l[i]);
            }
            rsxw.Close();
        }