list box asp.net selected problem
        Posted  
        
            by lodun
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by lodun
        
        
        
        Published on 2010-05-08T22:54:23Z
        Indexed on 
            2010/05/08
            22:58 UTC
        
        
        Read the original article
        Hit count: 208
        
ASP.NET
.When i choose item from "kategorije" new items loads to me in SUB_kategorije, but when i choose item from SUB_kategorije and when i click on button it shows me this error:
Object reference not set to an instance of an object.
Line 101: kom.Parameters.Add("@podkategorija", SqlDbType.Text).Value = SUB_kategorije.SelectedItem.ToString();
This is my source...
© Stack Overflow or respective owner