i have a listbox with Items in it, and also a textbox. i want when the user type something in textbox, at first the new Item should be checked with the available Items in listbox so i used this syntax
lstProject.Items.Contains(txtPrj.Text.ToString())
but it always returns Flase as a result.
so am i wrong about the syntax?
lstProject.Items.Contains(txtPrj.Text.ToString())
but it always returns Flase as a result.
so am i wrong about the syntax?