Click here to Skip to main content
15,904,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
there is a problem on populating combobox on edit command of gridview...
there is 2 combo.
i am populating the 2nd combo on selectedIndexChanged Event Of 1st Combo and save it to grid view .
but when i m editing gridview to update it then 1st one is working & the 2nd is throwing "object reference not set to an instance of object" Error..

Please help to avoid this type of error.What should i do..
Nilesh Patil Kolhapur 21-Feb-12 6:34am    
give your code what you try
Varun Sareen 21-Feb-12 6:46am    
Please add some code snippet. Nothing is clear from what you have written

1 solution

can u share your code.........
Share this answer
Vasim889 21-Feb-12 8:15am    
pls add you code and then we are see the issues.

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