Example #1
0
 public int Insert()
 {
     int nResult = 0;
     cContacts objInfor = new cContacts();
     try
     {
         objInfor.AddNew();
         this.MappingData(objInfor);
         objInfor.Save();
         nResult = 1;
     }
     catch
     {
         nResult = 0;
     }
     return nResult;
 }