Click here to Skip to main content
15,901,426 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Question"using javascript" Pin
ravikiranreddydharmannagari25-Oct-06 19:39
ravikiranreddydharmannagari25-Oct-06 19:39 
AnswerRe: "using javascript" Pin
thomas_joyee25-Oct-06 19:52
thomas_joyee25-Oct-06 19:52 
QuestionRe: "using javascript" Pin
ravikiranreddydharmannagari25-Oct-06 23:11
ravikiranreddydharmannagari25-Oct-06 23:11 
AnswerRe: "using javascript" Pin
Akhilesh Yadav25-Oct-06 19:54
Akhilesh Yadav25-Oct-06 19:54 
QuestionRe: "using javascript" Pin
ravikiranreddydharmannagari25-Oct-06 23:14
ravikiranreddydharmannagari25-Oct-06 23:14 
Questionget file count used in the project in asp.net Pin
yesu prakash25-Oct-06 19:29
yesu prakash25-Oct-06 19:29 
AnswerRe: get file count used in the project in asp.net Pin
thomas_joyee25-Oct-06 19:43
thomas_joyee25-Oct-06 19:43 
QuestionHelp for implementing interface Pin
dj.rock25-Oct-06 19:29
dj.rock25-Oct-06 19:29 
Hi all

i have one interface and i have to implement it in different classes so i am confused to call method of interface. below is my code

Public Interface MyInterface
Function increment(ByVal Inc As MyInterface) As MyInterface
End Interface

Public Class MyClass1
Implements MyInterface

Public Function increment(ByVal Inc As MyInterface) As MyInterface Implements MyInterface.increment
'implementation
End Function

End Class

Public Class MyClass2
Implements MyInterface

Public Function increment(ByVal Inc As MyInterface) As MyInterface Implements MyInterface.increment
'implementation
End Function

End Class

Public Class MyClass3
Implements MyInterface

Public Function increment(ByVal Inc As MyInterface) As MyInterface Implements MyInterface.increment
'implementation
End Function
End Class

Calling this method
Select Case objecttype
Case ObjMyClass1
ObjMyClass1.increment()
Case ObjMyClass2
ObjMyClass2.increment()
Case ObjMyClass3
ObjMyClass3.increment()


Now when i am calling this method increment i dont have object of MyInterface so what exactly i should pass in this method????So that i can increment particular value as per their class type (i.e. MyClass1,MyClass2,MyClass3)

Please help me in this

Thanks in advanced If u are not clear in my que you can ask me

DJ Rock
AnswerRe: Help for implementing interface Pin
MihirV25-Oct-06 20:00
MihirV25-Oct-06 20:00 
GeneralRe: Help for implementing interface Pin
dj.rock25-Oct-06 20:16
dj.rock25-Oct-06 20:16 
AnswerRe: Help for implementing interface Pin
MihirV25-Oct-06 20:44
MihirV25-Oct-06 20:44 
GeneralRe: Help for implementing interface Pin
dj.rock25-Oct-06 20:55
dj.rock25-Oct-06 20:55 
AnswerRe: Help for implementing interface Pin
Akhilesh Yadav25-Oct-06 20:01
Akhilesh Yadav25-Oct-06 20:01 
Questionasp.net Pin
sukhchain singh25-Oct-06 18:50
sukhchain singh25-Oct-06 18:50 
AnswerRe: asp.net Pin
Colin Angus Mackay25-Oct-06 23:37
Colin Angus Mackay25-Oct-06 23:37 
QuestionProgrammatically creating Xml from Database Table Pin
nature027625-Oct-06 14:14
nature027625-Oct-06 14:14 
AnswerRe: Programmatically creating Xml from Database Table Pin
minhpc_bk25-Oct-06 15:13
minhpc_bk25-Oct-06 15:13 
AnswerRe: Programmatically creating Xml from Database Table Pin
PavanPareta25-Oct-06 18:58
PavanPareta25-Oct-06 18:58 
QuestionDetect pages EnableSessionState value from codebehind? Pin
Member 9625-Oct-06 13:57
Member 9625-Oct-06 13:57 
AnswerRe: Detect pages EnableSessionState value from codebehind? Pin
Member 9625-Oct-06 14:06
Member 9625-Oct-06 14:06 
QuestionGridView column formatting Pin
Drew McGhie25-Oct-06 11:44
Drew McGhie25-Oct-06 11:44 
AnswerRe: GridView column formatting Pin
minhpc_bk25-Oct-06 14:45
minhpc_bk25-Oct-06 14:45 
GeneralRe: GridView column formatting Pin
Drew McGhie26-Oct-06 3:19
Drew McGhie26-Oct-06 3:19 
QuestionHow to mask controls based on the input selected before that? Pin
veerugadde25-Oct-06 10:55
veerugadde25-Oct-06 10:55 
AnswerRe: How to mask controls based on the input selected before that? Pin
minhpc_bk25-Oct-06 14:50
minhpc_bk25-Oct-06 14:50 

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.