private void LoadGrid() { var protocols = _protocolBL.GetProtocolsBySystemUserExternal(_systemUserId == null ? -1 : _systemUserId.Value); _protocolsOld = protocols; grdData.DataSource = protocols; if (grdData.Rows.Count > 0) { grdData.Rows[0].Selected = true; _protocolId = grdData.Rows[0].Cells["v_ProtocolId"].Value.ToString(); } }