Click here to Skip to main content
15,905,420 members
Home / Discussions / C#
   

C#

 
QuestionBinary serialization Pin
hain6-Feb-10 17:10
hain6-Feb-10 17:10 
AnswerRe: Binary serialization Pin
harold aptroot6-Feb-10 23:39
harold aptroot6-Feb-10 23:39 
GeneralRe: Binary serialization Pin
OriginalGriff6-Feb-10 23:59
mveOriginalGriff6-Feb-10 23:59 
GeneralRe: Binary serialization Pin
harold aptroot7-Feb-10 0:13
harold aptroot7-Feb-10 0:13 
GeneralRe: Binary serialization Pin
hain7-Feb-10 4:02
hain7-Feb-10 4:02 
QuestionLabel Edit Bug with Treeview, MDI Container and MDIChildForms Pin
CrazyNinjaMike26-Feb-10 16:27
CrazyNinjaMike26-Feb-10 16:27 
QuestionGetting values to Add up from a datagrid text box Pin
miggs706-Feb-10 13:49
miggs706-Feb-10 13:49 
AnswerRe: Getting values to Add up from a datagrid text box Pin
OriginalGriff6-Feb-10 21:42
mveOriginalGriff6-Feb-10 21:42 
Try:
xVal += temp += PostSpacingTotal;
But I think you need to look at a few things here:
1) xVal will go out of scope when the for loop ends - throwing away your data.
2) You aren't using the DataGridVeiwRow at all - why foreach over them?
3) Rather than converting a cell value to a string, then to a double, then I2M (whatever that does) why not use the Cell.Value directly? Or at least use TryParse so that a data error will not cause an exception?
If Barbie is so popular, why do you have to buy her friends?

Eagles may soar, but weasels don't get sucked into jet engines.

If at first you don't succeed, destroy all evidence that you tried.

GeneralMessage Removed Pin
7-Feb-10 3:12
miggs707-Feb-10 3:12 
GeneralRe: Getting values to Add up from a datagrid text box [modified] Pin
OriginalGriff7-Feb-10 4:33
mveOriginalGriff7-Feb-10 4:33 
GeneralRe: Getting values to Add up from a datagrid text box Pin
miggs707-Feb-10 5:04
miggs707-Feb-10 5:04 
GeneralRe: Getting values to Add up from a datagrid text box Pin
OriginalGriff7-Feb-10 5:12
mveOriginalGriff7-Feb-10 5:12 
GeneralRe: Getting values to Add up from a datagrid text box Pin
miggs707-Feb-10 6:10
miggs707-Feb-10 6:10 
GeneralRe: Getting values to Add up from a datagrid text box Pin
OriginalGriff7-Feb-10 8:17
mveOriginalGriff7-Feb-10 8:17 
GeneralMessage Removed Pin
7-Feb-10 11:13
miggs707-Feb-10 11:13 
GeneralRe: Getting values to Add up from a datagrid text box Pin
OriginalGriff7-Feb-10 22:31
mveOriginalGriff7-Feb-10 22:31 
GeneralMessage Removed Pin
8-Feb-10 1:48
miggs708-Feb-10 1:48 
GeneralRe: Getting values to Add up from a datagrid text box Pin
OriginalGriff8-Feb-10 2:05
mveOriginalGriff8-Feb-10 2:05 
Questionoverlapping area of n ractangles Pin
hotthoughtguy6-Feb-10 10:41
hotthoughtguy6-Feb-10 10:41 
Questionchange resource file dynamically Pin
jojoba20106-Feb-10 7:19
jojoba20106-Feb-10 7:19 
AnswerRe: change resource file dynamically Pin
Richard MacCutchan6-Feb-10 9:23
mveRichard MacCutchan6-Feb-10 9:23 
QuestionResource+C# Pin
jojoba20106-Feb-10 5:45
jojoba20106-Feb-10 5:45 
AnswerRe: Resource+C# Pin
Richard MacCutchan6-Feb-10 9:20
mveRichard MacCutchan6-Feb-10 9:20 
Questionproblem with winform visual style in c# Pin
evanxg6-Feb-10 4:53
evanxg6-Feb-10 4:53 
QuestionChange A Property Within The Foreach Loop Pin
BlitzPackage6-Feb-10 3:54
BlitzPackage6-Feb-10 3:54 

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.