Click here to Skip to main content
   

C#

 
AnswerRe: Reading Excel from different processes in different computer PinmemberSuper Lloyd3-Jan-13 18:55 
AnswerRe: Reading Excel from different processes in different computer [modified] PinmemberApril Fans3-Jan-13 20:33 
AnswerRe: Reading Excel from different processes in different computer Pinmembermicke.andersson28-Jan-13 5:45 
QuestionKeyValuePair from reference dll PinmemberIsaksson3-Jan-13 2:52 
Hello.
iam trying to read a KeyValuePair but it seems that iam doing soemthing wrong here, iam including a small part of the code where iam trying to read the value and also a capture from the debug, the debug shows me in "Locals" the info that i want to read.
 
var dataSourceName = (
                                                      from entry in entityParams
 
                                                      where entry is KeyValuePair<string, string> && entry != null && ((KeyValuePair<string, string>)entry).Key.Equals("DataSourceName")
                                                      select ((KeyValuePair<string, string>)entry).Value).FirstOrDefault();

 
I did not find a way to upload and include a image in this post, so i added it external instead.
 
Link to image
 
In this debug case its the value "ps3" that i need.
I have added the .dll switchking.common to my references and also
using SwitchKing.Common.Entities;

 
But now i need help what i need to do more to have access to the value.
AnswerRe: KeyValuePair from reference dll PinmemberSuper Lloyd3-Jan-13 18:51 
GeneralRe: KeyValuePair from reference dll PinmemberIsaksson3-Jan-13 22:14 
GeneralRe: KeyValuePair from reference dll PinmemberSuper Lloyd3-Jan-13 23:48 
GeneralRe: KeyValuePair from reference dll PinmemberIsaksson4-Jan-13 1:41 
Questionhow to connect and disconnect to internet by Exist connection Pinmemberapadana_19892-Jan-13 18:44 
QuestionRe: how to connect and disconnect to internet by Exist connection PinmvpRichard MacCutchan2-Jan-13 23:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.150123.1 | Last Updated 26 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid