Create Login Form in ASP.Net, Login Name match with Items of DropDownList control in ASP.Net

Here, we are going to learn match textbox control text value with any Items of DropDownList control, if match display message login success other wise login fail.

Example: Here we have one DropDownList control which have five Items named “Meera”, “Academy”, “ASP”, “PHP” and “SQL”. and we have one TextBox Control, here we match the TextBox control Text Value with any Items of DropDownLsit control then message display success other wise fail.

for this ASP.Net Example we need to use FOR Loop her to solve this example.