Select the default value of the DropDownList when you modify the record

xiaoxiao2021-03-05  30

Example: The male and female value currently recorded by default in the SEX drop-down menu of the reception when modifying the record;

Sex.Items.FindByvalue (Obj ["SEX"]. TOSTRING ()). SELECTED = TRUE;

FindByValue is used to find the value of the value OBJ ["SEX"]. TOSTRING (), then set its selected attribute to true

转载请注明原文地址:https://www.9cbs.com/read-33471.html

New Post(0)