Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
i friend what are rules or how to set names(identity) of various wed controls

for eg for button we use btn (or cmd in vb)
textbox we use txt

now i want to know about for others such as dropdownlist/radiobutton/checkbox/fileupload/gridviews/listviews etc...........

sorry for stupid question
Posted

1 solution

What I believe you are referring to is called Hungarian notation, adding a prefix, usually three characters, to denote its type. This method has been outdated for years.

Name your controls, and variables, something that is informative and descriptive.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900