Except then it doesn't populate.
So I take a look at ILSpy, and see this:
- Code: Select all
public void DisplayShippingAddress()
{
JiwaGrid shippingAddressJiwaGrid = ShippingAddressJiwaGrid;
checked
{
int num = ShippingAddressJiwaGrid.ActiveSheet.RowCount - 1;
for (int i = 0; i <= num; i++)
{
string text = Conversions.ToString(shippingAddressJiwaGrid.get_GridText("Field", i));
switch (<PrivateImplementationDetails>.ComputeStringHash(text))
{
....
case 2959222051u:
if (Operators.CompareString(text, "Spare1", TextCompare: false) == 0)
{
shippingAddressJiwaGrid.set_GridText("Value", i, (object)_PurchaseOrder.ShippingAddress.Spare1);
}
break;
...
}
shippingAddressJiwaGrid = null;
}
}
this suggests to me that if the text in the "Field" column isn't "Spare1", then it's not going to get the Spare1 value out of the ShippingAddress.
Any other suggestions?