public UnitModelInsertParams(UnitModel unitM) { this._unitModel = unitM; build(); }
public static void fillDropDownItemsUnitModelsAd(System.Web.UI.WebControls.DropDownList ddl, UnitModel _unitModel) { try { UnitModel _Unit = new UnitModel(); _Unit = _unitModel; new UnitModelAdSelect(_Unit).UnitModelAdDropDownList(_Unit. _dropDownList); ddl.DataSource = _Unit._dropDownList; ddl.DataTextField = "Name"; ddl.DataValueField = "value"; ddl.DataBind(); } catch (Exception ex) { throw ex; } finally { ddl = null; } }
public makeModelParam(UnitModel _unitModel) { this._unitModel = _unitModel; build(); }
public UnitModelAdSelect(UnitModel _Umodel) { this.UnitModel = _Umodel; Command = "SELECT unitModelID,unitModel FROM tblUnitModel WHERE comID = :comID;"; }