01.
private
void
company_PhoneDataGridView_CellEndEdit(
object
sender, DataGridViewCellEventArgs e)
02.
{
03.
04.
if
(
string
.IsNullOrEmpty(company_PhoneDataGridView[1, e.RowIndex].Value.ToString()) && LocID !=
null
)
05.
{
06.
07.
company_PhoneDataGridView[1, e.RowIndex].Value = LocID;
08.
09.
}
10.
11.
company_PhoneDataGridView[4, e.RowIndex].Value = _Class.UserLogin.EmployeeName;
12.
company_PhoneDataGridView[5, e.RowIndex].Value = DateTime.Now;
13.
}