Actually I can not understand why an incomprehensible phenomenon occurs, when the grid is initialized, the text in the cell appears and immediately disappears.
DataSet ds = core.getBid(); dg_bid.DataSource = ds.Tables[0]; dg_bid.AllowUserToAddRows = false; dg_bid.RowHeadersVisible = false; dg_bid.ReadOnly = false; DataGridViewTextBoxColumn navi; navi = new DataGridViewTextBoxColumn(); navi.Name = "Navigation"; navi.DataPropertyName = "Navigation"; navi.HeaderText = "Маршрут"; navi.ValueType = typeof(string); navi.ReadOnly = false; navi.Visible = true; navi.FillWeight = 250; dg_bid.Columns["id"].Visible = false; dg_bid.Columns["num"].HeaderText = "#"; dg_bid.Columns["create_date"].ValueType = typeof(DateTime); dg_bid.Columns["create_date"].HeaderText = "Дата"; dg_bid.Columns.Add(navi); for (int i = 0; i < dg_bid.Rows.Count; i++) { //Маршрут string bidID = dg_bid.Rows[i].Cells["id"].Value.ToString(); string nav_text = core.navi(bidID).ToString(); dg_bid.Rows[i].Cells["Navigation"].Value = nav_text; } The rest of the columns are loaded normally, incomprehensible only with the created column "Navigation", the grid has ReadOnly = false; What could be causing this?