public static DataTable Update (NewData data, NewData oldvalue_data) { UpdatePassedValues = String.Join (", ", new string [] { data.ID, data.FName, data.LName, oldvalue_data.ID, oldvalue_data.FName, oldvalue_data.LName }); UpdateWithDataObjectTypeNameAllValues = true; return ds; }
public static DataTable Delete (NewData anyName) { UpdatePassedValues = String.Join (", ", new string [] { anyName.ID, anyName.FName, anyName.LName }); DeleteWithDataObjectTypeName = true; return ds; }