1. Naming Convention
| Controls | Name |
| DropDownList | ddlDept |
| TextBox | txtResourcesFName |
| UpdatePanel | upTaskStatus |
| Label | lblCount |
| GridView | grdResources |
| LinkButton | lbtnAddNew |
| Image | imgPhoto |
| ObjectDataSource | odsResourcesAddEdit |
| MultiView | mvwResources |
| View | viewAddEdit |
| RequiredFieldValidator | rfvTxtfname_i or rfvTxtfname_u |
| FormView | fvwResources |
| RadioButtonList | radlGender_i or radlGender_u |
| FileUpload | fuPhoto_i or fuPhoto_u |
| Button | btnCancel |
| Panel | pnlPhotoSelect |
| DataList | dlstPhoto_i or dlstPhoto_u |
| PopupControlExtender | PopEx |
| ImageButton | ibtnCancel |
| CheckBox | chkIsActive_i or chkIsActive_u |
| HiddenField | hfdFreeze |
| CalendarExt | calEndDate |
| form | frmMain |
| BulletedList | blstContact |
- Prefix must start with 3 or 4 char of control’s name + variable name
- Function Naming Convention
| Function | Name |
| DataTable | fdtClientListingBL |
| Int | fiClientAddDA |
| Void (not return value) | vContactsAddBL |
| | |
File Naming
Bl files suffix with BL : In BL files all methods should end with BL
No comments:
Post a Comment