예제 #1
0
        protected void FillSelectSpaceType()
        {
            //Select Campus
            SpaceTypeData spaceTypeData = new SpaceTypeData();

            selectSpaceType.DataSource     = spaceTypeData.DataTableSpaceType();
            selectSpaceType.DataValueField = "Id";
            selectSpaceType.DataTextField  = "Name";
            selectSpaceType.DataBind();
        }
예제 #2
0
 protected void FillSelectSpaceType()
 {
     //Select Campus
     SpaceTypeData spaceTypeData = new SpaceTypeData();
     selectType.DataSource = spaceTypeData.DataTableSpaceType();
     selectType.DataValueField = "Id";
     selectType.DataTextField = "Name";
     selectType.DataBind();
 }