Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
Hi Sir,

Sir Please help me for that, I am trying to access asp.net controls to static
methods . And I am trying to access non static method to static method .I tried but not working properly.
Please sir reply soon.Thanks in advance.
Posted 25-Nov-12 19:52pm
Edited 26-Nov-12 22:50pm
v3
Comments
Sergey Alexandrovich Kryukov at 27-Nov-12 1:41am
   
What is "call a control"? Control is not a function, procedure, method, subroutine, operator, not a property...
"Not working properly" is not informative. Please explain properly.
--SA
kareem salem at 27-Nov-12 13:38pm
   
thank you for your interest,I deleted that stupid solution, I just want to say that it's not good oop thinking
Sergey Alexandrovich Kryukov at 27-Nov-12 17:41pm
   
Great. I agree it's bad OOP thinking, if you are talking about the question.
I just want to say that in fact the Control classes themselves use every attribute of decent OOP approach: late binding, polymorphism and nearly everything else...
But there are many ways to spoil good OOP approaches...
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 589
1 OriginalGriff 419
2 CPallini 205
3 RyanDev 175
4 Sergey Alexandrovich Kryukov 170
0 OriginalGriff 5,649
1 Sergey Alexandrovich Kryukov 4,783
2 Peter Leow 2,954
3 Maciej Los 2,689
4 DamithSL 2,465


Advertise | Privacy | Mobile
Web03 | 2.8.140718.1 | Last Updated 27 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid