Skip to main content

Posts

Showing posts with the label DropDownList

Binding One DropDownList Based On Another DropDown List | Cascading dropdownlist in ASP.Net C#.Net

In this tutorial I am going to explain about how to load the one drop down list using another or cascading drop down list in ASP.Net  and C#.Net. It is achieved by passing the selected value of the one dropdown list as parameter to another drop down list.

how to implement option group in asp.net drop down list

In my previous article i have explained about Bind Specific Columns Of Datatable To Gridview In C#.Net, ASP.Net . In this tutorial i am explaining about how to implement option group in asp.net drop down list. In html select list option group is used to group the similiar items. But in asp.net dropdown list we don't have that option. But we can achieve this with the help of jQuery. Dropdownlist is a asp.net control used to show list of values from that the user can select one value.

ASP.Net - Bind Array To DropDownList in C#.Net,VB.Net

 ASP.Net Code: <! DOCTYPE html > < html > < head runat ="server">     < title > ASP.Net - Bind Array To Drop Down List in C#.Net,VB.NET </ title > </ head > < body >     < form id ="form1" runat ="server">     < div >         < asp : DropDownList ID ="ddlArray" runat ="server">         </ asp : DropDownList >         < br />         < asp : Button ID ="btnFill" runat ="server" Text ="Fill Drop Down List From Array" OnClick ="btnFill_Click" />     </ div >     </ form > </ body > </ html >  C#.Net Code: using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using Sy...