Click here to Skip to main content
15,919,613 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP.net With Oracle Pin
r a m e s h15-Jul-09 1:21
r a m e s h15-Jul-09 1:21 
QuestionProblem with Ajax update panel Pin
hozsam14-Jul-09 23:40
hozsam14-Jul-09 23:40 
AnswerRe: Problem with Ajax update panel Pin
Christian Graus15-Jul-09 0:42
protectorChristian Graus15-Jul-09 0:42 
GeneralRe: Problem with Ajax update panel Pin
hozsam15-Jul-09 1:22
hozsam15-Jul-09 1:22 
Questionlistview HoverMenuExtender not working Pin
ademsandeepreddy14-Jul-09 23:07
ademsandeepreddy14-Jul-09 23:07 
QuestionRPC Server is Unavailable Pin
Sabari MD14-Jul-09 22:37
Sabari MD14-Jul-09 22:37 
AnswerRe: RPC Server is Unavailable Pin
Blue_Boy14-Jul-09 22:38
Blue_Boy14-Jul-09 22:38 
QuestionBest Method to Instantiate a Class Pin
Bardy8514-Jul-09 22:01
Bardy8514-Jul-09 22:01 
I have three different ways to Instatiate a class and fill the properties.
Even though all three ways work I'm not sure which would be the best to use in the form "Best Practices"

Method 1
Simple instantiate class, set property and call select to fill object
Foo NewFoo = new Foo();

NewFoo.ID = 10;
NewFoo.Select();


Method 2
In constructor Set Id and then call Select to Fill Object
Foo NewFoo = new Foo(10).Select();


Method 3
In the construtor I use the ID and automatically call the Select to fill the Object
Foo NewFoo = new Foo(10);



All three are basically the same. If anyone does it differently or better.
Please let me know what your thoughts are.
Thanks.
AnswerRe: Best Method to Instantiate a Class Pin
jc.net15-Jul-09 0:36
jc.net15-Jul-09 0:36 
GeneralRe: Best Method to Instantiate a Class Pin
Bardy8515-Jul-09 1:10
Bardy8515-Jul-09 1:10 
QuestionImplementation of iDatasource Interface Pin
pulak srivastava14-Jul-09 21:50
pulak srivastava14-Jul-09 21:50 
QuestionServer Control Doesn't Work when placing google ads on the page Pin
Dhrumil_Shukla14-Jul-09 21:47
Dhrumil_Shukla14-Jul-09 21:47 
Questiondefault.aspx.cs can not see classes added in App_Code folder Pin
Chesnokov Yuriy14-Jul-09 21:02
professionalChesnokov Yuriy14-Jul-09 21:02 
AnswerRe: default.aspx.cs can not see classes added in App_Code folder Pin
freshers14-Jul-09 21:22
freshers14-Jul-09 21:22 
AnswerRe: default.aspx.cs can not see classes added in App_Code folder Pin
Chesnokov Yuriy14-Jul-09 22:00
professionalChesnokov Yuriy14-Jul-09 22:00 
AnswerRe: default.aspx.cs can not see classes added in App_Code folder Pin
K030614-Jul-09 21:23
K030614-Jul-09 21:23 
QuestionRe: default.aspx.cs can not see classes added in App_Code folder Pin
Chesnokov Yuriy14-Jul-09 21:59
professionalChesnokov Yuriy14-Jul-09 21:59 
AnswerRe: default.aspx.cs can not see classes added in App_Code folder Pin
himanshu256114-Jul-09 21:25
himanshu256114-Jul-09 21:25 
GeneralRe: default.aspx.cs can not see classes added in App_Code folder Pin
freshers14-Jul-09 21:28
freshers14-Jul-09 21:28 
GeneralRe: default.aspx.cs can not see classes added in App_Code folder Pin
himanshu256114-Jul-09 21:34
himanshu256114-Jul-09 21:34 
GeneralRe: default.aspx.cs can not see classes added in App_Code folder Pin
freshers14-Jul-09 21:41
freshers14-Jul-09 21:41 
GeneralRe: default.aspx.cs can not see classes added in App_Code folder Pin
himanshu256114-Jul-09 21:52
himanshu256114-Jul-09 21:52 
QuestionRe: default.aspx.cs can not see classes added in App_Code folder Pin
Chesnokov Yuriy14-Jul-09 22:03
professionalChesnokov Yuriy14-Jul-09 22:03 
AnswerResolved - Re: default.aspx.cs can not see classes added in App_Code folder Pin
Chesnokov Yuriy14-Jul-09 22:06
professionalChesnokov Yuriy14-Jul-09 22:06 
QuestionProblem with membership provider DB created using ASP.NET configuration Pin
ptr_Electron14-Jul-09 21:01
ptr_Electron14-Jul-09 21:01 

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.