Click here to Skip to main content
15,898,588 members
Home / Discussions / C#
   

C#

 
QuestionC# need 2 threads for long execution Pin
dracebus19-Jun-15 8:48
dracebus19-Jun-15 8:48 
AnswerRe: C# need 2 threads for long execution Pin
PIEBALDconsult19-Jun-15 8:59
mvePIEBALDconsult19-Jun-15 8:59 
GeneralRe: C# need 2 threads for long execution Pin
dracebus19-Jun-15 9:02
dracebus19-Jun-15 9:02 
GeneralRe: C# need 2 threads for long execution Pin
PIEBALDconsult19-Jun-15 9:12
mvePIEBALDconsult19-Jun-15 9:12 
GeneralRe: C# need 2 threads for long execution Pin
Dave Kreskowiak19-Jun-15 9:21
mveDave Kreskowiak19-Jun-15 9:21 
GeneralRe: C# need 2 threads for long execution Pin
Philippe Mori19-Jun-15 16:20
Philippe Mori19-Jun-15 16:20 
QuestionTrying to sum several fields into a total field Pin
Norris Chappell18-Jun-15 16:17
Norris Chappell18-Jun-15 16:17 
AnswerRe: Trying to sum several fields into a total field Pin
OriginalGriff18-Jun-15 19:15
mveOriginalGriff18-Jun-15 19:15 
Although you have two different variables declared as each of those name (one as a Label, one as a TextBox) I can't see anything immediately wrong with the code you show.

So start by looking at which line is giving the error: double click the error message in VS and it'll take you right to it.
Anything odd about that line? Or the lines immediately above?
What concerns me slightly is that the code adding the parameters to your SqlCommand object in gvInternalAudit_RowUpdating is not indented correctly - which normally means that the curly brackets don't match somewhere or some similar error which means that the compiler doesn't understand the control flow properly. That can throw up a lot of "spurious" errors which disappear once the control flow is sorted. It's likely that your problem is something to do with that.

Do a CTRL+K, CTRL+D to reformat the document and see if the indentation corrects itself. If it doesn't, then there is a serious problem elsewhere.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell18-Jun-15 20:26
Norris Chappell18-Jun-15 20:26 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell18-Jun-15 20:31
Norris Chappell18-Jun-15 20:31 
GeneralRe: Trying to sum several fields into a total field Pin
Pete O'Hanlon18-Jun-15 22:39
mvePete O'Hanlon18-Jun-15 22:39 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell19-Jun-15 4:44
Norris Chappell19-Jun-15 4:44 
GeneralRe: Trying to sum several fields into a total field Pin
Richard MacCutchan19-Jun-15 7:02
mveRichard MacCutchan19-Jun-15 7:02 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell19-Jun-15 7:23
Norris Chappell19-Jun-15 7:23 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell19-Jun-15 5:35
Norris Chappell19-Jun-15 5:35 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell19-Jun-15 9:30
Norris Chappell19-Jun-15 9:30 
AnswerRe: Trying to sum several fields into a total field Pin
Agent__00718-Jun-15 20:30
professionalAgent__00718-Jun-15 20:30 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell18-Jun-15 20:36
Norris Chappell18-Jun-15 20:36 
GeneralRe: Trying to sum several fields into a total field Pin
Richard MacCutchan18-Jun-15 22:05
mveRichard MacCutchan18-Jun-15 22:05 
GeneralRe: Trying to sum several fields into a total field Pin
Agent__00718-Jun-15 23:23
professionalAgent__00718-Jun-15 23:23 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell19-Jun-15 3:25
Norris Chappell19-Jun-15 3:25 
QuestionFind 2 Dates A DateTime Falls between From Dictionary Pin
Kevin Marois18-Jun-15 6:38
professionalKevin Marois18-Jun-15 6:38 
AnswerRe: Find 2 Dates A DateTime Falls between From Dictionary Pin
Sascha Lefèvre18-Jun-15 6:56
professionalSascha Lefèvre18-Jun-15 6:56 
SuggestionRe: Find 2 Dates A DateTime Falls between From Dictionary Pin
Sascha Lefèvre19-Jun-15 4:30
professionalSascha Lefèvre19-Jun-15 4:30 
QuestionReadout datagrid in PowerPoint 2010 and insert datas in new PowerPoint slide Pin
Member 1177535418-Jun-15 4:56
Member 1177535418-Jun-15 4:56 

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.