ASP .NET form element naming conventions

P

paul.hester

Hi all,

I can't find a consistent naming convention rule for form elements
and/or server controls with ASP .NET 2.0.

What conventions do you generally use? For example, for a user name
text input element, would you use:

txtUserName?
UserName?
userName?
_userName?
user_name?

Or, are all of the above perfectly acceptable from a naming convention
standpoint?

Thanks,

Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top