protected void Page_Load(object sender, EventArgs e) { //Water=False,MaxPicSize=1024,PicFileExt=jpg|png|gif|bmp|jpeg,SelUpfile=True,Compress=True DataTable dt = fieldBll.GetTableByFieldName(FieldName, ModelConfig.GetTableName((ModelConfig.SType)SType), ModelID); if (dt.Rows.Count < 1) { RepStr("[" + FieldName + "]字段不存在"); } DataRow dr = dt.Rows[0]; FieldModel fieldMod = new FieldModel(dr["Content"].ToString()); water_div.Visible = true; function.Script(this, "SetRadVal('water_rad'," + fieldMod.GetValInt("Water") + ");"); }