Update. Sorry, another newbie mistake. The field was ItemNo, not itemNo.
>Hmmm, I don't see anything out of the ordinary but I'm a bit out of practice with windows forms. Are you 100% sure there's a value being loaded to that field in the DS? Maybe set the debugger on the data load and manually inspect the DS contents.
>
Good call, and I indeed forgot to put ItemNo in the Row, but unfortunately, this is not it. In the form Activate I have this code
private void OrdersEntryForm_Activated(object sender, EventArgs e)
{
if (this._loading == false)
{
this.tcOrders.SelectedIndex = 1;
_mode = ModeEnum.Add;
this.grdOrderDetails.Visible = false;
}
this._loading = true;
}
Yet, the grid shows up visible and the first column (ItemNo) is not shown.
If it's not broken, fix it until it is.
My Blog