Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. Tags
    3. asp.net
    Log in to post
    • All categories
    • Dinuwan Kalubowila

      ASP.NET Razor Pages
      Back-End Development • asp.net mvc c sharp html5 • • Dinuwan Kalubowila

      3
      0
      Votes
      3
      Posts
      683
      Views

      tnlthanzeel

      with dotnet framewor mvc 4 and above u can use

      @{
      List<SelectListItem> listItems= new List<SelectListItem>();
      listItems.Add(new SelectListItem
      {
      Text = "Exemplo1",
      Value = "Exemplo1"
      });
      listItems.Add(new SelectListItem
      {
      Text = "Exemplo2",
      Value = "Exemplo2",
      Selected = true
      });
      listItems.Add(new SelectListItem
      {
      Text = "Exemplo3",
      Value = "Exemplo3"
      });
      }

      @Html.DropDownListFor(model => model.tipo, listItems, "-- Select Status --")

    • Dinuwan Kalubowila

      MySQL DB Connection එක මෙහෙම දැම්මහම errors,warnings මුකුත් එන්නෙ නන් නෑ...ඒත් DB එකට data insert වෙන් නෑ..හේතුව මොකක්ද?.
      Back-End Development • c sharp mysql asp.net • • Dinuwan Kalubowila

      17
      0
      Votes
      17
      Posts
      2394
      Views

      Nubelle

      @Dinuwan-Kalubowila elzzz

    • F

      Need performance tips
      Windows • windows-server asp.net mysql • • fern

      12
      1
      Votes
      12
      Posts
      2497
      Views

      Danuva

      @fern elas

    • 1 / 1