Tuesday 6 August 2013

Add values to SelectList in MVC C#

 SelectList adequateList = new SelectList(new[]
             {
                new { Id = "1", Name = "Yes" },
                new { Id = "0", Name = "No" },       
             }, "Id", "Name");

1 comment:

  1. Kültür Sanat Okulu 2021 - StillCasino.com 우리카지노 계열사 우리카지노 계열사 カジノ シークレット カジノ シークレット 984best today football prediction site

    ReplyDelete

If any doubt?then please comment in my post

How to reduce angular CLI build time

 Index: ----- I am using angular cli - 7 and I am going to tell how to reduce the build time as per my knowledge. Problem: -------- Now the ...