Click here to Skip to main content
15,894,343 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncooike problem Pin
saravanan0521-Jan-10 17:46
saravanan0521-Jan-10 17:46 
AnswerRe: cooike problem Pin
Pranay Rana21-Jan-10 17:56
professionalPranay Rana21-Jan-10 17:56 
GeneralRe: cooike problem Pin
saravanan0521-Jan-10 18:01
saravanan0521-Jan-10 18:01 
GeneralRe: cooike problem Pin
Pranay Rana21-Jan-10 18:23
professionalPranay Rana21-Jan-10 18:23 
AnswerRe: cooike problem Pin
Brij21-Jan-10 18:56
mentorBrij21-Jan-10 18:56 
Questionhow to resolve the data transmit problem in SOA system Pin
Fired.Fish.Gmail21-Jan-10 15:25
Fired.Fish.Gmail21-Jan-10 15:25 
QuestionInheritence Pin
Learner52021-Jan-10 14:41
Learner52021-Jan-10 14:41 
AnswerRe: Inheritence Pin
N a v a n e e t h21-Jan-10 16:35
N a v a n e e t h21-Jan-10 16:35 
Learner520 wrote:
My question is if I Implement 2nd option will this improve or make worse web page performance.


You won't get any performance problems. Readability, maintainability and choice of design is all matters here. Also inheriting all the classes from sales just to get the common fields is not a good idea. How about a design like,
Order
  orderid, orderdate

Invoice
  invoiceid, invoicedate

Email
  emailid, emaildate

Sales
  saleid, Order, Invoice, Email, timesheetid, timesheetdate.
Sales class contains references to related classes. So to get an order id from a sales object, you could write salesObject.Order.orderid. You are not repeating any properties here.

BTW, I don't prefix cls to my classes. Smile | :)

Best wishes,
Navaneeth

QuestionAdRotator + Update panel + Timer Pin
Hemant Thaker21-Jan-10 8:04
Hemant Thaker21-Jan-10 8:04 
AnswerRe: AdRotator + Update panel + Timer Pin
Brij21-Jan-10 8:34
mentorBrij21-Jan-10 8:34 
GeneralRe: AdRotator + Update panel + Timer Pin
Hemant Thaker21-Jan-10 8:49
Hemant Thaker21-Jan-10 8:49 
GeneralRe: AdRotator + Update panel + Timer Pin
Brij21-Jan-10 8:59
mentorBrij21-Jan-10 8:59 
Questioncolumn selection of GridView Pin
perreq21-Jan-10 7:56
perreq21-Jan-10 7:56 
AnswerRe: column selection of GridView Pin
Rutvik Dave21-Jan-10 8:03
professionalRutvik Dave21-Jan-10 8:03 
GeneralRe: column selection of GridView Pin
perreq21-Jan-10 8:19
perreq21-Jan-10 8:19 
GeneralRe: column selection of GridView Pin
Rutvik Dave21-Jan-10 9:45
professionalRutvik Dave21-Jan-10 9:45 
AnswerRe: column selection of GridView Pin
kadaoui el mehdi21-Jan-10 8:14
kadaoui el mehdi21-Jan-10 8:14 
Questionprotect excel sheet by password using OWC in C# - Exception from HRESULT: 0xE0040059 - Urgent Pin
nishithrajn21-Jan-10 4:29
nishithrajn21-Jan-10 4:29 
QuestionGrid view Paging Issue Pin
Amit Patel198521-Jan-10 3:26
Amit Patel198521-Jan-10 3:26 
GeneralRe: Grid view Paging Issue Pin
Pranay Rana21-Jan-10 4:33
professionalPranay Rana21-Jan-10 4:33 
AnswerRe: Grid view Paging Issue Pin
Rutvik Dave21-Jan-10 7:44
professionalRutvik Dave21-Jan-10 7:44 
AnswerRe: Grid view Paging Issue Pin
Amit Patel198521-Jan-10 18:58
Amit Patel198521-Jan-10 18:58 
QuestionDynamically Changing EventHandlers in Web page Pin
moon_stick21-Jan-10 3:13
moon_stick21-Jan-10 3:13 
AnswerRe: Dynamically Changing EventHandlers in Web page Pin
Pranay Rana21-Jan-10 4:27
professionalPranay Rana21-Jan-10 4:27 
AnswerRe: Dynamically Changing EventHandlers in Web page Pin
kadaoui el mehdi21-Jan-10 7:58
kadaoui el mehdi21-Jan-10 7:58 

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.