23 Şubat 2015 Pazartesi

dropdownlist viewbag

You can also do this. It should work:
ViewBag.CurrencyID = x;
and in view:
@Html.DropDownListFor(model => model.CurrencyID, null)
Hope this helps!

Hiç yorum yok:

Yorum Gönder

.net 6 mapget kullanımı

 app.UseEndpoints(endpoints => {     endpoints.MapGet("/", async context =>     {         var response = JsonConvert.Seriali...