Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 479
  • Last Modified:

Need demo program using Razor - DropDownListFor()

I asm having a real hard time setting the default drop down list item, and would like to see a working demo.

Can anyone suggest one (in C#) that use Razor and the DropDownListFor() HtmlHelper method?

1 Solution
newbiewebSr. Software EngineerAuthor Commented:
Well, DropDownList and DropDownListFor are very different. But it did get me to some interesting articles on DropDownListFor().

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now