|
C#
public static bool
BeforeEdit(System.Web.UI.Page Page, IDictionary e)
{
//Save new data in another table
AnotherAcme anotherAcme = new AnotherAcme();
anotherAcme.Field1 = e["Field1"];
anotherAcme.Field2 = e["Field2"];
try
{
anotherAcme.Save("username");
}
finally
{
}
return true;
// return true if you like to proceed with
editing this record
// return false in other case
}
|