Click here to Skip to main content
16,004,806 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i trying to find the return value

strEventCount = paramAdhocError.Value.ToString();

which value is returing strEventCount?

when im seeing in quickwatch it showing like value={}.

plz can any one help me on this how to fing that array value.
Posted
Comments
Kornfeld Eliyahu Peter 1-Jan-14 8:13am    
It's maybe under the bed?
But really - it's not a question! You must improve it. Maybe post more of your code to let us understood what you talking about?
[no name] 1-Jan-14 8:35am    
*lol*, just checked. Now we know at least under my bed it is not :)
devchina 1-Jan-14 8:21am    
OraClient.OracleTransaction oraTran = oraclConnect.BeginTransaction();
MyDA.Fill(Ds);
strEventCount = paramAdhocError.Value.ToString();
here im trying to see how much value its returning this strEventCount.
im getting value={} in quickwatch.so how can i find this.
Kornfeld Eliyahu Peter 1-Jan-14 8:38am    
Still not too clear...
Where paramAdhocError gets its value?
thatraja 1-Jan-14 8:26am    
Check the value of 'paramAdhocError.Value' in quickwatch. If nothing then the db returns nothing/null.

1 solution

Always share the code in your question for quick answers. Try like below
C#
strEventCount = paramAdhocError.Length.ToString();

FYI C# Arrays[^]

And I suggest you to learn C# basics.
 
Share this answer
 

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



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