private void focus_new_row_created(decimal v_id_gd_thu_nhap_khac)
{
int v_row_index = 0;
decimal v_id_gd_moi_lap = 0;
US_GD_THU_NHAP_KHAC v_us = new US_GD_THU_NHAP_KHAC();
DS_GD_THU_NHAP_KHAC v_ds = new DS_GD_THU_NHAP_KHAC();
v_id_gd_moi_lap = v_id_gd_thu_nhap_khac;
v_us.FillDataset(v_ds);
for (v_row_index = 0; v_row_index < v_ds.Tables[0].Rows.Count; v_row_index++)
{
var v_id_gd_qd = CIPConvert.ToDecimal(m_grv_quan_ly_thu_nhap_khac.GetDataRow(v_row_index)["ID"].ToString());
if (v_id_gd_qd == v_id_gd_moi_lap)
{
break;
}
}
m_grv_quan_ly_thu_nhap_khac.FocusedRowHandle = v_row_index;
}