Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Object Null reference Error - dropdown list inside webdatagrid

I have  webdatagrind which is pulling data from database. there is one dropdownlist inside webdatagrid  which is also pulling data from the database.

the problem is

I can able to removing selected record using check box from the grid successfully and then reloading grid again from the database .

But i am getting error with (dropdownlist.selectitem.text) second time when  i  select check box and then submit.

Thanks for your help

No Data
  • 17475
    Offline posted

    Hello Chiranjeevi,

    The reason for the an exception to appear after a record is deleted could be that the data is no longer available in the database.

    Does the error appear the second time the user deletes a row in the grid?

    You mentioned that the error appears with dropdownlist.selectitem.text, please share the stack trace of the exception so I can look further into it.