Tuesday, 30 June 2015

What are HTML helpers in MVC (.Net)?

           
               HTML helpers help you to render HTML controls in the view. For instance if you want to display a HTML textbox on the view , below is the HTML helper code.

                                            "   <%= Html.TextBox("UserName") %>   "

                                            "   <%= Html.CheckBox("UserName") %> "

No comments:

Post a Comment