堕
堕落天使_2003
Unregistered / Unconfirmed
GUEST, unregistred user!
一个关于vs.net的,同样的代码,用vb.net没问题,但在asp.net 就出现Object reference not set to an instance of an object.错误提示(问题自己解决了,可是没法结贴!!!谁来领这50分,先到先得) ( 积分: 50 )<br />如题
错误代码提示在这一行上:
Dim dsProducts As DataSet = CType(DataGrid1.DataSource, DataSet)
Dim drNewProduct As DataRow
drNewProduct = dsProducts.Tables("Products".NewRow '提示错误代码行
错误代码提示在这一行上:
Dim dsProducts As DataSet = CType(DataGrid1.DataSource, DataSet)
Dim drNewProduct As DataRow
drNewProduct = dsProducts.Tables("Products".NewRow '提示错误代码行