public String GetTotalPrice(object EstNum, object submatid, object priceinproject)
 {
     Whitfieldcore _wc = new Whitfieldcore();
     String retQty = _wc.GetTotalMaterialQtyForEstimation(Convert.ToInt32(EstNum), Convert.ToInt32(submatid));
     Decimal TotalMatCost = Convert.ToDecimal(retQty) * Convert.ToDecimal(priceinproject.ToString().Replace("$", "").Trim());
     return TotalMatCost.ToString();
 }
 public String GetTotalMaterialQtyForEstimation(object EstNum, object submatid)
 {
     Whitfieldcore _wc = new Whitfieldcore();
     String retVal = _wc.GetTotalMaterialQtyForEstimation(Convert.ToInt32(EstNum), Convert.ToInt32(submatid));
     return retVal;
 }