dropdownlist.items.count =0
If drpBrandName.Items.Count = 0 Then Else Dim myscript As String = "alert('Select Brand Name');" System.Web.UI.ScriptManager.RegisterClientScriptBlock(Me.Page, Me.GetType(), "myscript", myscript, True) drpBrandName.Focus() Exit Sub End If
"Zero"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)