Click here to Skip to main content
15,920,053 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Array Output Sorting Issue Pin
Christian Graus24-Mar-08 11:41
protectorChristian Graus24-Mar-08 11:41 
GeneralRe: Array Output Sorting Issue Pin
LittlBUGer24-Mar-08 11:47
LittlBUGer24-Mar-08 11:47 
GeneralRe: Array Output Sorting Issue Pin
Christian Graus24-Mar-08 12:09
protectorChristian Graus24-Mar-08 12:09 
GeneralRe: Array Output Sorting Issue Pin
LittlBUGer24-Mar-08 12:46
LittlBUGer24-Mar-08 12:46 
GeneralTo Change the Date Format. Pin
udaymohan24-Mar-08 4:24
udaymohan24-Mar-08 4:24 
GeneralDouble post - please ignore Pin
pmarfleet24-Mar-08 4:31
pmarfleet24-Mar-08 4:31 
QuestionCode Placement Pin
ahlaj7724-Mar-08 4:10
ahlaj7724-Mar-08 4:10 
GeneralRe: Code Placement Pin
pmarfleet24-Mar-08 4:24
pmarfleet24-Mar-08 4:24 
I can't see any obvious problems with your code. As to whether it works, I suggest you try it and see what happens.

You can place the code anywhere you like - it will still work. The SOC[^] principle however recommends that presentation, business and data access logic should be physically separated in the codebase. Placing business or data access logic in your ASPX pages isn't a big issue on a small project where 1 developer is doing the work. For larger, multi-developer projects this approach soon becomes unmanageable, leading to code redundancy and maintenance problems.

To better understand the importance of SOC, I suggest you look at the new ASP.NET MVC[^] framework which is based around this principle.

Paul Marfleet

"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush


GeneralRe: Code Placement Pin
Not Active24-Mar-08 4:38
mentorNot Active24-Mar-08 4:38 
GeneralRe: Code Placement Pin
pmarfleet24-Mar-08 4:54
pmarfleet24-Mar-08 4:54 
GeneralRe: Code Placement Pin
Not Active24-Mar-08 5:53
mentorNot Active24-Mar-08 5:53 
GeneralRe: Code Placement Pin
pmarfleet24-Mar-08 6:14
pmarfleet24-Mar-08 6:14 
GeneralRe: Code Placement Pin
ahlaj7724-Mar-08 5:22
ahlaj7724-Mar-08 5:22 
GeneralRe: Code Placement Pin
pmarfleet24-Mar-08 6:32
pmarfleet24-Mar-08 6:32 
Generalclick on a hyperlink page moves top or down asp.net 2.0? [modified] Pin
chakran24-Mar-08 3:58
chakran24-Mar-08 3:58 
GeneralRe: click on a hyperlink page moves top or down asp.net 2.0? Pin
pmarfleet24-Mar-08 4:11
pmarfleet24-Mar-08 4:11 
GeneralRe: click on a hyperlink page moves top or down asp.net 2.0? Pin
chakran24-Mar-08 4:15
chakran24-Mar-08 4:15 
GeneralRe: click on a hyperlink page moves top or down asp.net 2.0? Pin
pmarfleet24-Mar-08 4:29
pmarfleet24-Mar-08 4:29 
QuestionHow to change the date Formate. Pin
udaymohan24-Mar-08 3:36
udaymohan24-Mar-08 3:36 
GeneralRe: How to change the date Formate. Pin
pmarfleet24-Mar-08 3:58
pmarfleet24-Mar-08 3:58 
GeneralDisable the Defalut button porperty while user click enter key on the form Pin
kinnuP24-Mar-08 2:17
kinnuP24-Mar-08 2:17 
GeneralRe: Disable the Defalut button porperty while user click enter key on the form Pin
Abhijit Jana24-Mar-08 2:43
professionalAbhijit Jana24-Mar-08 2:43 
GeneralRe: Disable the Defalut button porperty while user click enter key on the form Pin
kinnuP24-Mar-08 3:59
kinnuP24-Mar-08 3:59 
GeneralRe: Disable the Defalut button porperty while user click enter key on the form Pin
Abhijit Jana24-Mar-08 4:03
professionalAbhijit Jana24-Mar-08 4:03 
GeneralRe: Disable the Defalut button porperty while user click enter key on the form Pin
kinnuP25-Mar-08 3:39
kinnuP25-Mar-08 3:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.