cboClassName.DataSource = objClassService.GetClassList(); cboClassName.DisplayMember = "ClassName";//设置下拉框显示的文本 cboClassName.ValueMember = "ClassId";//设置下拉框显示文本对应的Value
posted on 2020-01-01 17:25 GY66520 阅读(147) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 GY66520 Powered by .NET 8.0 on Kubernetes