以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助]进行计算时,列“加权系数”为“只读”,什么原因? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=178784) |
-- 作者:hrw68529 -- 发布时间:2022/7/20 17:25:00 -- [求助]进行计算时,列“加权系数”为“只读”,什么原因? 请看代码:If e.DataCol.Name = "加权系数" Dim Filter As String = "[面试室] = \'" & e.DataRow("面试室") & "\'" Dim drs As List(Of DataRow) = DataTables("笔试成绩").Select(Filter) For Each dr As DataRow In drs If e.DataRow("加权系数")= Nothing Then dr("加权系数") = Nothing Else dr("加权系数") = e.DataRow("加权系数") End If Next End If
|
-- 作者:有点蓝 -- 发布时间:2022/7/20 17:36:00 -- 这个列是表达式列,转换为数据列 |
-- 作者:hrw68529 -- 发布时间:2022/7/21 7:06:00 -- 明白了 |