I am using ASP.NET 1.1 Version.
I have two asp:dropdownlists named BooksTotalList and BooksSelectedList.
I am binding the BooksTotalList from database. And then I am using Javascript to move selected books from BooksTotalList to BooksSelectedList. This all works fine.
Now at the click of asp:button, I want to read the BooksSelectedList dropdownlist and do the processing.
When I try to read it gives me the following error
System.NullReferenceException: Object reference not set to instance of an object.
Please let me know how to solve this.
Thanks.
Our community of experts have been thoroughly vetted for their expertise and industry experience.