How to bind drop-down list in ASP.Net MVC

In the previous blog, we have seen ‘How to bind static values with Dropdown in MVC?‘I have collected MVC tutorial topics, please have a look.In this blog, let’s see how to bind dropdown list in MVC? Bind dropdown list in MVC using ViewBag First, write a function in your controller.Below is the function you can … Read more

How to bind Dropdown list with hard code values in MVC

In my previous blogs, you can read about MVC.In this blog, we will see how to bind @Html.DropDownList with static values. Bind Static values with a Dropdown list in MVC Below is the code to bind Dropdownlist in MVC with static values. <div class=”form-group”>  @Html.Label(“Technology”)  @Html.DropDownList(“–Select–“, new List<SelectListItem> { new SelectListItem{ Text=“MVC”, Value = “MVC” }, … Read more

ASP.Net Web API Interview questions and answers

In this blog, I have collected important ASP.Net Web API interview questions and answers.Whether you are a fresher or have ASP.Net development experience, the ASP.Net Web API interview questions given below will prove to be very beneficial for you.   If you are working on Microsoft Technologies especially ASP.Net framework, then you must aware about … Read more