Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6639089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:30:48+00:00 2026-05-25T23:30:48+00:00

i did not found simple dropdown list . i’m new in mvc3 this part

  • 0

i did not found simple dropdown list .

i’m new in mvc3

this part create and fill : ListMonitoringLicenseModelList = new List();

i fill this objectsList in another part and use it to fill MonitoringLicenseModelList

objectsList = new List(…fill objectsList…);

    List<MonitoringLicenseModel>MonitoringLicenseModelList = new List<MonitoringLicenseModel>();
        foreach (object o in objectsList)
        {
            string[] tmpString = o.ToString().Split('@');

            int i = 0;

            monitoringLicenseModel = new MonitoringLicenseModel();
            monitoringLicenseModel.MonitoringID =Convert.ToInt32(tmpString[i++]);
            monitoringLicenseModel.LicenseUI = tmpString[i++];
           MonitoringLicenseModelList.Add(monitoringLicenseModel);
        }

public ActionResult SchedulesIndex()
{

        return View(MonitoringLicenseModelList);
     }

how can i write dropdownlist to show this

                 name                value

            MonitoringID   =     LicenseUI 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:30:48+00:00Added an answer on May 25, 2026 at 11:30 pm
    @model List<MonitoringLicenseModel>
    ...
    @Html.DropDownList(
        "SelectedMotoringID", 
        new SelectList(Model, "MonitoringID", "LicenseUI")
    )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this is a recurrent/classical topic but I did not found anything that
I searched and found this question but did not like the answer. Is there
I found some threads saying this was doable, but did not find specific instructions
I just recently found myself writing this line of code, which i did not
I found this post: Python Regex vs PHP Regex but I actually did not
I actually posted this question to pjsip mailing list, but did not get any
I did not find an answer to this question. I have a VOIP application.
Did some search online, found simple 'tutorials' to use named pipes. However when I
There are new options in Bash 4: checkjobs and autocd. However, I did not
Did not have luck with these examples: Javascript File remove Javascript FSO DeleteFile Method

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.