Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proper coding standards 1

Status
Not open for further replies.

ksbigfoot

Programmer
Apr 15, 2002
856
CA
I have a gridview that I have added a checkbox to each row. After everything is done processing, I want to uncheck all boxes of my gridview.
My question is where do I put my code for best coding practices? Do I put my code in the code behind of the page or should I put the code in my business layer?

Thanks
ksbigfoot
 
Well it's not really a 'business' rule, so I would put it in the Page. If it was something where you said make all checkboxes checked where the quantity was over 5 or something like that, then that may warrent being put in the BL, but I think you'll be fine at the page level.
 
Thanks robertfah,
Working on my first .net project now, so I want to make sure I am following the proper standards.
Thanks again for the post, star to you.
ksbigfoot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top