Click here to Skip to main content
15,920,632 members
Home / Discussions / C#
   

C#

 
QuestionData Passing between two different Application Pin
Priyagdpl13-Jun-10 20:06
Priyagdpl13-Jun-10 20:06 
AnswerRe: Data Passing between two different Application Pin
Md. Marufuzzaman13-Jun-10 20:31
professionalMd. Marufuzzaman13-Jun-10 20:31 
AnswerRe: Data Passing between two different Application Pin
Abhinav S13-Jun-10 21:45
Abhinav S13-Jun-10 21:45 
QuestionDo stuff while button pressed down? [solved] Pin
la0113-Jun-10 16:52
la0113-Jun-10 16:52 
AnswerRe: Do stuff while button pressed down? Pin
Luc Pattyn13-Jun-10 17:18
sitebuilderLuc Pattyn13-Jun-10 17:18 
GeneralRe: Do stuff while button pressed down? Pin
la0113-Jun-10 17:46
la0113-Jun-10 17:46 
GeneralRe: Do stuff while button pressed down? Pin
Luc Pattyn13-Jun-10 18:02
sitebuilderLuc Pattyn13-Jun-10 18:02 
GeneralRe: Do stuff while button pressed down? Pin
la0115-Jun-10 13:33
la0115-Jun-10 13:33 
Questionneed help Pin
aaga513-Jun-10 9:56
aaga513-Jun-10 9:56 
AnswerRe: need help Pin
Luc Pattyn13-Jun-10 10:03
sitebuilderLuc Pattyn13-Jun-10 10:03 
AnswerRe: need help Pin
Lutosław13-Jun-10 12:26
Lutosław13-Jun-10 12:26 
AnswerRe: need help Pin
Abhinav S13-Jun-10 18:18
Abhinav S13-Jun-10 18:18 
QuestionProblem to use letters ( c: , d:) with the physical drive: Pin
muteb13-Jun-10 7:32
muteb13-Jun-10 7:32 
AnswerRe: Problem to use letters ( c: , d:) with the physical drive: Pin
Henry Minute13-Jun-10 8:14
Henry Minute13-Jun-10 8:14 
AnswerRe: Problem to use letters ( c: , d:) with the physical drive: Pin
Luc Pattyn13-Jun-10 8:21
sitebuilderLuc Pattyn13-Jun-10 8:21 
QuestionConnection string Pin
humayunlalzad13-Jun-10 3:01
humayunlalzad13-Jun-10 3:01 
AnswerRe: Connection string Pin
Abhinav S13-Jun-10 3:27
Abhinav S13-Jun-10 3:27 
GeneralRe: Connection string Pin
humayunlalzad13-Jun-10 3:51
humayunlalzad13-Jun-10 3:51 
Questioncrystal report and list<> Pin
reza assar12-Jun-10 21:39
reza assar12-Jun-10 21:39 
AnswerRe: crystal report and list Pin
Mycroft Holmes13-Jun-10 19:55
professionalMycroft Holmes13-Jun-10 19:55 
QuestionNeed to add 1 to a cache value Pin
Randall Hall12-Jun-10 18:07
Randall Hall12-Jun-10 18:07 
AnswerRe: Need to add 1 to a cache value Pin
Dan Mos12-Jun-10 18:21
Dan Mos12-Jun-10 18:21 
AnswerRe: Need to add 1 to a cache value Pin
Pete O'Hanlon13-Jun-10 4:44
mvePete O'Hanlon13-Jun-10 4:44 
Randall Hall wrote:
(Cache("locid") + 1)


This is the problem. Cache provides indexer access to object values, so you need to extract the value back out before you attempt to work with it. Try changing this instead to:
int value;
if (int.TryParse(Cache["locid"], out value))
{
  lblsite.Text = ++value;
}

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



QuestionTab Control with Exit Button Pin
royk12312-Jun-10 10:04
royk12312-Jun-10 10:04 
AnswerRe: Tab Control with Exit Button Pin
Dan Mos12-Jun-10 16:18
Dan Mos12-Jun-10 16:18 

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.