【发布时间】:2013-12-19 13:24:27
【问题描述】:
这是我在网络服务中的代码
private object[] _myObjectVariableList = new object[7];
public object[] MyObjectVariableList
{
get { return _myObjectVariableList; }
set { _myObjectVariableList = value; }
}
当我使用
向它传递一个值时 AuditTrail auditclass = new AuditTrail();
auditclass.MyObjectVariableList[indexCounter] = myTextBox.Text;
我收到一个错误
对象引用未设置为对象的实例。
我真的不知道发生了什么
有什么想法吗?
【问题讨论】:
标签: c# asp.net web-services .net-2.0