Click here to Skip to main content
14,766,746 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
This is my code :
string retval = tm.Server_Conn(ServerName,UserName1,Password1);
ServerName,UserName1,Password1 is got the value but retval is null.. how to get the value in retval
Posted
Comments
CPallini 16-Apr-14 2:21am
   
What kind of object is 'tm'?
Member 10718181 16-Apr-14 2:36am
   
tm my object
CPallini 16-Apr-14 3:13am
   
Sorry, there is no enough info in your question. I'm happy with tm being your object, but that's not really a precious piece of info. Do you mean tm is an instance of a class you have written? Then you should, please, provide the code of the Server_Conn method, in order to shed some light on such a obscure question.
   
The question makes no sense. We have no idea what is tm and tm.Server_Conn. If this is your method, you return null, no one else.
Due to long today's rain, my access to your hard drive is somewhat limited.
—SA

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

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900