B
=B=
Hi,
I was wondering if anyone has any opinions on naming conventions for
ASP.NET objects?
Up until now I've been using txtThis for Text Boxes, ddlThat for
DropDownList, etc because I think it helps the readability. When
working with a code-behind file you can tell what type of object
you're accessing. Of couse, this Hungarian notation is frowned upon
by the Microsoft guidelines for classes at
http://msdn.microsoft.com/library/d...en-us/cpgenref/html/cpconnamingguidelines.asp
and FXCop complains about 'txt' not being a word, etc.
How does everyone else name their web controls?
Thanks,
B.
I was wondering if anyone has any opinions on naming conventions for
ASP.NET objects?
Up until now I've been using txtThis for Text Boxes, ddlThat for
DropDownList, etc because I think it helps the readability. When
working with a code-behind file you can tell what type of object
you're accessing. Of couse, this Hungarian notation is frowned upon
by the Microsoft guidelines for classes at
http://msdn.microsoft.com/library/d...en-us/cpgenref/html/cpconnamingguidelines.asp
and FXCop complains about 'txt' not being a word, etc.
How does everyone else name their web controls?
Thanks,
B.