public bool MakerBrandSelect(string fields, string tableName, string condition) { DataTable dt = new DataTable(); dt = bdl.DynamicSelectData(fields, tableName, condition); if (dt.Rows.Count > 0) { return(true); } else { return(false); } }
public DataTable M_MultiPorpose_SelectID(M_MultiPorpose_Entity MmultiporposeData) { return(BaseDL.DynamicSelectData("Char1 ,Char2,Num1,Num2", "M_MultiPorpose", "where ID= " + MmultiporposeData.ID + " AND [Key]='" + MmultiporposeData.Key + "'")); }
public DataTable M_MultiPorpose_Select(string id) { return(BaseDL.DynamicSelectData("Num1,Num2", "M_MultiPorpose", "where ID=" + id + " AND [Key]='1'")); }