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: 158

Filed under:

.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...

dod_pit.ascx

dod_pit.ascx.cs

© Stack Overflow or respective owner

Related posts about ASP.NET