using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; namespace BLL { /// /// Íø¸ñÑéÖ¤ /// public class ClsCheckGridView { //ÊýÁ¿²»Ð¡ÓÚÁã public static bool Fun_CheckQty(DataGridView grd,int HQtyCol,int i) { if (DBUtility.ClsPub.isDoule(grd.Rows[i].Cells[HQtyCol].Value) <= 0) { return false; } return true; } //²Ö¿â²»ÄÜΪ¿Õ public static bool Fun_CheckWareHouse(DataGridView grd, int HWhIDCol, int i) { if (DBUtility.ClsPub.isLong(grd.Rows[i].Cells[HWhIDCol].Value) == 0) { return false; } return true; } //²Öλ²»ÄÜΪ¿Õ public static bool Fun_CheckStockPlace(DataGridView grd, int HSPIDCol, int i) { if (DBUtility.ClsPub.isLong(grd.Rows[i].Cells[HSPIDCol].Value) == 0) { return false; } return true; } //¼ÆÁ¿µ¥Î»²»ÄÜΪ¿Õ public static bool Fun_CheckUnit(DataGridView grd, int HUnitIDCol, int i) { if (DBUtility.ClsPub.isLong(grd.Rows[i].Cells[HUnitIDCol].Value) == 0) { return false; } return true; } } }