1) Inline code
2) Code behind
Which is the better option and are there more options ?What does that have to do with transferring data between pages? There has been many discussions on this already, even on this forum. Search for them and see. I choose code-behind mainly because of the tool (VS.NET); sometimes tool dictates, but I like the code-behind model. Either is acceptable though, and in the next version of VS.NET, you can do both.
One other thing about inline is it fits more with web hosting that doesn't allow code-behind.
Brian
0 comments:
Post a Comment