Click here to Skip to main content
15,915,975 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to Clean Solution Pin
Akhilesh Yadav25-Oct-06 19:56
Akhilesh Yadav25-Oct-06 19:56 
GeneralRe: How to Clean Solution Pin
aaraaayen25-Oct-06 20:00
aaraaayen25-Oct-06 20:00 
GeneralRe: How to Clean Solution Pin
Akhilesh Yadav25-Oct-06 20:03
Akhilesh Yadav25-Oct-06 20:03 
GeneralRe: How to Clean Solution Pin
aaraaayen25-Oct-06 20:08
aaraaayen25-Oct-06 20:08 
Questionread file names from xml Pin
yesu prakash25-Oct-06 19:51
yesu prakash25-Oct-06 19:51 
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 

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.