Category - DropDownList
Results 21 - 25 of 148
21 Nov 2020 21 Nov 2020 0 Comments  3770 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) DropDownList using ADO.Net in ASP.Net Core Razor Pages.

The records from the Database will be fetched from Database Table using ADO.Net into Model class object and then the Model is used to populate the DropDownList using the new ASP.Net Tag Helpers in ASP.Net Core Razor Pages.
21 Nov 2020 21 Nov 2020 0 Comments  5408 Views
Here Mudassar Ahmed Khan has explained with an example, how to retrieve data from Database and displaying in DropDownList in ASP.Net MVC Core.

The records from the SQL Server Database will be retrieved from Table using ADO.Net into Model class object and then the Model is used to display the data in the DropDownList in ASP.Net Core MVC.
12 Aug 2020 12 Aug 2020 0 Comments  7180 Views
Here Mudassar Ahmed Khan has explained with an example, how to use RequiredFieldValidator for DropDownList in ASP.Net.
RequiredFieldValidator is used to validate required inputs, for TextBoxes it is plug and play but for DropDownList an additional property InitialValue needs to be set in ASP.Net.
In the InitialValue property, the value of the Default DropDownList Item needs to be set.
13 Jun 2020 13 Jun 2020 0 Comments  5559 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Cascading (Dependent) DropDownList without using Entity Framework in ASP.Net MVC Razor.

The Cascading (Dependent) DropDownList will be implemented using ADO.Net and jQuery AJAX in ASP.Net MVC Razor.
13 Jun 2020 13 Jun 2020 0 Comments  5072 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Cascading (Dependent) DropDownList in ASP.Net MVC Razor.

The Cascading (Dependent) DropDownList will be implemented using Entity Framework in ASP.Net MVC Razor.
Results 21 - 25 of 148