System.Argument Null异常值不能为null参数名称:值

编程入门 行业动态 更新时间:2024-10-28 00:26:25
本文介绍了System.Argument Null异常值不能为null参数名称:值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

if (CaseStatusDay >= maxDays) { if (currentrow != null) { currentrow.BeginEdit(); if (showFlagCaseStatus.Contains(currentCaseStatus)) { currentrow["CaseStatusFlag"] = "~/Images/flag_red.png"; if (webSession.GetVariable("LoginCompanyType") == "CCCS") { if (e.Row.Cells.Count >= 13) { e.Row.Cells[12].Attributes.Add("onmouseover", "tooltip('Case has not been statused in the last " + maxdaysdispay + " days')"); e.Row.Cells[12].Attributes.Add("onmouseout", "exit();"); } } else if (webSession.GetVariable("LoginCompanyType") == "VEND" || webSession.GetVariable("LoginCompanyType") == "INS") { if (e.Row.Cells.Count >= 14) { e.Row.Cells[13].Attributes.Add("onmouseover", "tooltip('Case has not been statused in the last " + maxdaysdispay + " days')"); e.Row.Cells[13].Attributes.Add("onmouseout", "exit();"); } } } } }

推荐答案

由于我们无法访问您的环境,因此上述代码对我们无能为力. 最好的答案是在运行时在调试器中打开代码,并查看从何处获取空值. There is very little we can do for you with the above code as we do not have access to your environment. The best answer is open your code in a debugger while running and see where you are getting the null value.

更多推荐

System.Argument Null异常值不能为null参数名称:值

本文发布于:2023-10-22 22:12:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1518875.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:能为   异常   名称   参数   Argument

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!