Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# 2.0 Return DataReader object
Message
 
 
To
09/03/2012 14:31:54
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01537785
Message ID:
01537806
Views:
31
>>Thank you. Does it mean that in the signature of the method I will have
>>
>>public oDataReader MethodName()
>>
>
>I have no idea about that syntax. My methods are simply name as is:
>
>
>        ' SQL exec
>        ' expC1 SQL command
>        Public Function SQLExec(ByVal tcSQL As String) As Boolean
>        End Function
>
>        ' SQL update
>        ' expC1 SQL command
>        Public Function SQLUpdate(ByVal tcSQL As String) As Boolean
>        End Function
>
I understand. We work in different languages (C# and VB.NET). But in your case, if I understand correctly the "As Boolean" means that your method returns the Boolean type, right? So my understanding is that if I apply your code (in the previous message) you method declaration would be like:
public Function MethodName( parameters) as oDataRead
But now that I look at it does not sound/look right. I need to read on this more.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform