For i = 0 To ddlReasons.Items.Count - 1 If ddlReasons.Items(i).ToString = strreason Then ShowMessageDialog("This reason is already present",MsgBoxStyle.Information) Exit Sub End If Next
ddlReasons
dim i as integer = 0 i = ddlreasons.findString(StringVariable)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)