Category - DropDownList
Results 6 - 10 of 134
16 Feb 2021 16 Feb 2021 0 Comments  369 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate Select List from Database in ASP.Net Core Razor Pages.

The records from the Database will be populated into Model class objects and then the Model will be 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  942 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  1240 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  2034 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  2373 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.
Results 6 - 10 of 134