示例#1
0
        protected void LoadInsertMode()
        {
            TextBoxCarGroup.Text                = string.Empty;
            TextBoxCarGroupGold.Text            = string.Empty;
            TextBoxCarGroupFiveStar.Text        = string.Empty;
            TextBoxCarGroupPresidentCircle.Text = string.Empty;
            TextBoxCarGroupPlatinum.Text        = string.Empty;

            TextBoxSortOrder.Text = "0";

            DatabindCarClass(true);
            TextBoxCarGroup.Focus();
        }
示例#2
0
        protected void LoadEditMode()
        {
            DatabindCarClass(false);


            LabelCarGroupId.Text                = _car_group_id.ToString();
            TextBoxCarGroup.Text                = _car_group;
            TextBoxCarGroupGold.Text            = _car_group_gold;
            TextBoxCarGroupFiveStar.Text        = Car_Group_FiveStar;
            TextBoxCarGroupPresidentCircle.Text = Car_Group_PresidentCircle;
            TextBoxCarGroupPlatinum.Text        = Car_Group_Platinum;

            TextBoxSortOrder.Text = _sort_car_group.ToString();
            DropDownListCarClass.SelectedValue = Convert.ToString(_car_class_id);

            TextBoxCarGroup.Focus();
        }