コード例 #1
0
 public UnitModelInsertParams(UnitModel unitM)
 {
     this._unitModel = unitM;
     build();
 }
コード例 #2
0
        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;
               }
        }
コード例 #3
0
 public makeModelParam(UnitModel _unitModel)
 {
     this._unitModel = _unitModel;
         build();
 }
コード例 #4
0
 public UnitModelAdSelect(UnitModel _Umodel)
 {
     this.UnitModel = _Umodel;
     Command = "SELECT unitModelID,unitModel FROM tblUnitModel WHERE comID = :comID;";
 }