Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Desktop Apps Pin
Pete O'Hanlon10-Aug-09 1:57
mvePete O'Hanlon10-Aug-09 1:57 
GeneralRe: C# Desktop Apps Pin
Marc Firth10-Aug-09 2:08
Marc Firth10-Aug-09 2:08 
GeneralRe: C# Desktop Apps Pin
Marc Firth14-Aug-09 0:23
Marc Firth14-Aug-09 0:23 
QuestionExcel Cells are not readable if hidden Pin
Harry6669-Aug-09 22:22
Harry6669-Aug-09 22:22 
AnswerRe: Excel Cells are not readable if hidden Pin
Luc Pattyn9-Aug-09 22:49
sitebuilderLuc Pattyn9-Aug-09 22:49 
GeneralRe: Excel Cells are not readable if hidden Pin
Harry66610-Aug-09 4:48
Harry66610-Aug-09 4:48 
AnswerRe: Excel Cells are not readable if hidden Pin
Moreno Airoldi10-Aug-09 0:53
Moreno Airoldi10-Aug-09 0:53 
GeneralRe: Excel Cells are not readable if hidden Pin
Harry66610-Aug-09 5:34
Harry66610-Aug-09 5:34 
Thanks,Thumbs Up | :thumbsup:

I already thought and was about to try this, but I almost forgot it. Wink | ;)

Some points to mention:
My Excel.Range doesn't have a .Value but there is .Value2
... they probably do almost the same.

If there is no value in the cell (the range), Value2 equals null. So I have to test it...
if (range.Value2 == null)
  val = "";
else
  val = range.Value2.ToString();

Using range.Text.ToString()
I do not have to test against null, I just get an empty string.

Greets
Harry

no plan,
no signature

GeneralRe: Excel Cells are not readable if hidden Pin
Moreno Airoldi10-Aug-09 7:05
Moreno Airoldi10-Aug-09 7:05 
GeneralRe: Excel Cells are not readable if hidden Pin
Harry66610-Aug-09 22:53
Harry66610-Aug-09 22:53 
GeneralRe: Excel Cells are not readable if hidden Pin
Moreno Airoldi10-Aug-09 23:06
Moreno Airoldi10-Aug-09 23:06 
QuestionControl Listner Pin
satsumatable9-Aug-09 20:39
satsumatable9-Aug-09 20:39 
AnswerRe: Control Listner Pin
Pete O'Hanlon10-Aug-09 1:42
mvePete O'Hanlon10-Aug-09 1:42 
QuestionLogic I use.......?? Pin
Hum Dum9-Aug-09 20:35
Hum Dum9-Aug-09 20:35 
AnswerRe: Logic I use.......?? Pin
PIEBALDconsult9-Aug-09 20:42
mvePIEBALDconsult9-Aug-09 20:42 
GeneralRe: Logic I use.......?? Pin
Hum Dum9-Aug-09 21:01
Hum Dum9-Aug-09 21:01 
GeneralRe: Logic I use.......?? Pin
PIEBALDconsult9-Aug-09 21:19
mvePIEBALDconsult9-Aug-09 21:19 
GeneralRe: Logic I use.......?? Pin
Hum Dum9-Aug-09 21:59
Hum Dum9-Aug-09 21:59 
GeneralRe: Logic I use.......?? Pin
Pete O'Hanlon9-Aug-09 22:24
mvePete O'Hanlon9-Aug-09 22:24 
GeneralRe: Logic I use.......?? Pin
PIEBALDconsult10-Aug-09 5:59
mvePIEBALDconsult10-Aug-09 5:59 
GeneralRe: Logic I use.......?? Pin
Hum Dum11-Aug-09 20:35
Hum Dum11-Aug-09 20:35 
GeneralRe: Logic I use.......?? Pin
PIEBALDconsult12-Aug-09 4:09
mvePIEBALDconsult12-Aug-09 4:09 
QuestionComboboxes in DataGrid Pin
AmbitiousBeginner9-Aug-09 20:31
AmbitiousBeginner9-Aug-09 20:31 
AnswerRe: Comboboxes in DataGrid Pin
PIEBALDconsult9-Aug-09 20:46
mvePIEBALDconsult9-Aug-09 20:46 
GeneralRe: Comboboxes in DataGrid Pin
AmbitiousBeginner9-Aug-09 20:52
AmbitiousBeginner9-Aug-09 20:52 

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.