..
This commit is contained in:
@@ -70,11 +70,16 @@ namespace FCM0000
|
||||
{
|
||||
var dr = drv.Row as dsMSSQL.ItemsRow;
|
||||
item = dr.idx;
|
||||
itemName = dr.name;
|
||||
itemmodel = dr.model;
|
||||
itemprice = dr.price;
|
||||
itemSupply = dr.supply;
|
||||
itemSupplyidx = dr.supplyidx;
|
||||
if (dr.IsnameNull()) itemName = string.Empty;
|
||||
else itemName = dr.name;
|
||||
if (dr.IsmodelNull()) itemmodel = string.Empty;
|
||||
else itemmodel = dr.model;
|
||||
if (dr.IspriceNull()) itemprice = 0;
|
||||
else itemprice = dr.price;
|
||||
if (dr.IssupplyNull()) itemSupply = string.Empty;
|
||||
else itemSupply = dr.supply;
|
||||
if (dr.IssupplyidxNull()) itemSupplyidx = -1;
|
||||
else itemSupplyidx = dr.supplyidx;
|
||||
SID = dr.sid;
|
||||
}
|
||||
btOK.PerformClick();
|
||||
|
||||
Reference in New Issue
Block a user