tags:

views:

35

answers:

3

In .NET we have a label control and a text control, but what about a single control that includes them?

I am working on a Windows Form application. Sorry for not making this clear.

Edit: I know I can make it myself (everyone, anyone can), but I am looking for a built-in one.

A: 

You need to create a user control on your own and include both controls. This will save you time in future development.

Anax
A: 

You can make it easily yourself by using User Control.

Wael Dalloul
A: 

I'm thinking you didn't mean ASP.NET MVC (tagged just .net which this is) but if you did then you could simply write a HtmlHelper or utilize MvcContrib.

It would simply be for example <%= Html.Input("FirstName") &>.

dove