예제 #1
0
    private void DataBindingUnitType()
    {
        UnitTypeInfos unitInfo = new UnitTypeInfos();
        DataSet       ds       = unitInfo.GetUnitTypeGroup();

        UltraWebGrid1.DataSource = ds;
        UltraWebGrid1.DataBind();
    }
예제 #2
0
    private void SetUnitTypeDroupDownList()
    {
        UnitTypeInfos unitInfo = new UnitTypeInfos();
        DataSet       ds       = unitInfo.GetUnitTypeGroup();

        ddlUnitGroup.DataSource    = ds;
        ddlUnitGroup.DataTextField = "UNIT_TYPE";
        ddlUnitGroup.DataBind();
    }