private void insertrow() { } private void updaterow() { }
protected void BtnSave_Click(object sender, EventArgs e) { }
protected void BtnSave_Click(object sender, EventArgs e) { if (IsNew) { insertrow() } else { updaterow() } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)