Click here to Skip to main content
15,896,372 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in a grid view when trying to edit, while the data loads an aditional row is also added .how to avoid this row.an error messeage "object reference not set to an instance of an object" and "object is not set to null reference " is displayed.give me a solution with a code sample
Posted

1 solution

check cell.value before use it
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900