Edit date in shape file

May 1, 2009 at 3:05 PM
hi all

I try to edit data in shape file using the following code

foreach (FeatureDataRow r1 in myTable1.Rows)
                  {

                      if (Convert.ToString(r1["objectid"]) == Convert.ToString(Convert.ToUInt16(trd_id)))
                      {
             
                          r1.BeginEdit();
                          r1["trd_name"] = "aaa";
                          r1.AcceptChanges();
                          r1.CancelEdit();
                      }
                  }
put not accept and not give eny error
is this correct or there are best solution than me

please help and thanks