Click here to Skip to main content
15,908,112 members
Home / Discussions / C#
   

C#

 
GeneralRe: Boolean conversion Pin
Richard MacCutchan16-Aug-11 1:11
mveRichard MacCutchan16-Aug-11 1:11 
It depends on the content of your text cell. If it's a single digit value ('0' or '1') then you can use Int32.Parse(), if it's some other text (e.g. "True", 'T', etc) then you will need to write your own conversion.
Unrequited desire is character building. OriginalGriff


GeneralRe: Boolean conversion Pin
5fingers16-Aug-11 1:23
5fingers16-Aug-11 1:23 
GeneralRe: Boolean conversion Pin
Richard MacCutchan16-Aug-11 5:42
mveRichard MacCutchan16-Aug-11 5:42 
GeneralRe: Boolean conversion Pin
5fingers16-Aug-11 19:38
5fingers16-Aug-11 19:38 
GeneralRe: Boolean conversion Pin
Richard MacCutchan16-Aug-11 22:22
mveRichard MacCutchan16-Aug-11 22:22 
GeneralRe: Boolean conversion Pin
5fingers17-Aug-11 0:57
5fingers17-Aug-11 0:57 
GeneralRe: Boolean conversion Pin
BobJanova17-Aug-11 0:11
BobJanova17-Aug-11 0:11 
GeneralRe: Boolean conversion Pin
5fingers17-Aug-11 0:55
5fingers17-Aug-11 0:55 
AnswerRe: Boolean conversion Pin
BobJanova16-Aug-11 1:14
BobJanova16-Aug-11 1:14 
GeneralRe: Boolean conversion Pin
5fingers16-Aug-11 5:23
5fingers16-Aug-11 5:23 
AnswerRe: Boolean conversion Pin
Dan Mos16-Aug-11 1:36
Dan Mos16-Aug-11 1:36 
GeneralRe: Boolean conversion Pin
5fingers16-Aug-11 5:25
5fingers16-Aug-11 5:25 
QuestionWhy does this not change my string? Pin
stephen.darling15-Aug-11 11:44
stephen.darling15-Aug-11 11:44 
AnswerRe: Why does this not change my string? Pin
Dave Kreskowiak15-Aug-11 11:49
mveDave Kreskowiak15-Aug-11 11:49 
GeneralRe: Why does this not change my string? Pin
stephen.darling15-Aug-11 11:55
stephen.darling15-Aug-11 11:55 
GeneralRe: Why does this not change my string? [modified] Pin
Dave Kreskowiak15-Aug-11 12:36
mveDave Kreskowiak15-Aug-11 12:36 
GeneralRe: Why does this not change my string? Pin
stephen.darling15-Aug-11 12:41
stephen.darling15-Aug-11 12:41 
AnswerRe: Why does this not change my string? Pin
Luc Pattyn15-Aug-11 11:50
sitebuilderLuc Pattyn15-Aug-11 11:50 
GeneralRe: Why does this not change my string? Pin
PIEBALDconsult15-Aug-11 15:28
mvePIEBALDconsult15-Aug-11 15:28 
GeneralRe: Why does this not change my string? Pin
Luc Pattyn15-Aug-11 15:37
sitebuilderLuc Pattyn15-Aug-11 15:37 
GeneralRe: Why does this not change my string? Pin
PIEBALDconsult15-Aug-11 15:41
mvePIEBALDconsult15-Aug-11 15:41 
AnswerRe: Why does this not change my string? Pin
Luc Pattyn15-Aug-11 15:53
sitebuilderLuc Pattyn15-Aug-11 15:53 
GeneralRe: Why does this not change my string? Pin
PIEBALDconsult15-Aug-11 16:01
mvePIEBALDconsult15-Aug-11 16:01 
AnswerRe: Why does this not change my string? Pin
Luc Pattyn15-Aug-11 16:30
sitebuilderLuc Pattyn15-Aug-11 16:30 
AnswerRe: Why does this not change my string? Pin
fcronin15-Aug-11 12:08
fcronin15-Aug-11 12:08 

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.