region получение параметра позиции public DataRow GetFinParamCalcRow i

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#region получение параметра позиции
public DataRow GetFinParamCalcRow(int idfinparam, int idorder, int id, bool ismodel){
if (ismodel)
return GetFinParamCalcRow(idfinparam, idorder, id);
DataRow[] drs = table_finparamcalc.Select( "idfinparam = " + idfinparam.ToString() + " and " +
"idorder = " + idorder.ToString() + " and " +
"idorderitem = " + id.ToString() + " and deleted is null");
if (drs.Length == 0)
return null;
return drs[0];
}
#endregion