Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Contents tagged with DataBound Control

  • Data Bound DropDownList (HTML Helper) for ASP.NET MVC

    In this Post I will try to create a HTML Helper method to create a Data-bound Dropdownlist for ASP.NET MVC framework. When iterating through the DataSource in the ViewPage, to create a Dropdownlist is easy, but at the sametime this is one feature that we will come across multiple time during any project execution. So it make more sense to me, if we create a HTML Helper, which will generate the  Dropdownlist from a DataSource.