sqlParamteredHelper中的错误 [英] error in sqlParamteredHelper
本文介绍了sqlParamteredHelper中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在为我的Web应用程序使用三种轮胎架构
我收到类似对象引用未设置为对象实例的错误
在sqlParamteredHelper文件中.我正在传递所有输入字段的值
显示行错误
hi i am using three tire architecture for my web application
i am getting error like Object reference not set to an instance of an object
in sqlParamteredHelper file. i am passing values for all the input fields
Error Displaying lines
{
//check for derived output value with no value assigned
if ((p.Direction == ParameterDirection.InputOutput) && (p.Value == null))
{
p.Value = DBNull.Value;
[已编辑]未选中会忽略文本中的HTML [/已编辑]
Unchecked Ignore HTML in text[/Edited]
推荐答案
您是否检查过将"p"设置为SqlParameter实例?
由于这是您显示的唯一用作参考的变量,因此我认为您还没有...:laugh:
Have you checked that "p" is set to an SqlParameter instance?
Since that is the only variable you show that is being used as a reference, I assume you haven''t... :laugh:
这篇关于sqlParamteredHelper中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文