Update a Newly Inserted Row fails with " Object reference not set to an instance of an object."

11 replies. Last post: October 7, 2010 4:18 PM by Serkan Arslan
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi,

I have a WebGrid using a SQLDataSource.  When trying to Update a Newly Inserted Row, it fails with " Object reference not set to an instance of an object."

There exists a SQL Insert Trigger, when it is not used, Updates on a Newly Inserted Row works.

Glenn has a working copy of the database an I have just provided him with the Trigger.

As a workaround, after refreshing the WebGrid, there is no problem even with the SQL Insert Trigger.

Why is this happening?

Is there a better solution?

Thanks,

Doug

All times are GMT -5. The time now is 11:02 PM.
Previous Next