Click here to Skip to main content
16,005,473 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Difference between Error and Defect and Bug..? [modified] Pin
Sonia Gupta25-Jul-07 18:13
Sonia Gupta25-Jul-07 18:13 
AnswerRe: Difference between Error and Defect and Bug..? Pin
BasharatAli25-Jul-07 18:32
BasharatAli25-Jul-07 18:32 
AnswerRe: Difference between Error and Defect and Bug..? Pin
Christian Graus25-Jul-07 18:47
protectorChristian Graus25-Jul-07 18:47 
GeneralRe: Difference between Error and Defect and Bug..? Pin
Urs Enzler25-Jul-07 20:24
Urs Enzler25-Jul-07 20:24 
Questionreduce this big code Pin
duo!@#25-Jul-07 17:41
duo!@#25-Jul-07 17:41 
AnswerRe: reduce this big code Pin
Imran Khan Pathan25-Jul-07 18:39
Imran Khan Pathan25-Jul-07 18:39 
GeneralRe: reduce this big code Pin
duo!@#26-Jul-07 15:18
duo!@#26-Jul-07 15:18 
AnswerRe: reduce this big code Pin
Christian Graus25-Jul-07 18:50
protectorChristian Graus25-Jul-07 18:50 
This code is obviously a nightmare. First of all, try giving your variables real names, not label1, label2, etc.

Then, it seems that you could use the tag property on the label controls to associate labels with a specific Lot_id, then much of this could be done using a loop.

You could actually make one SQL call which returns all statuses, along with the lot ids, and then iterate through the datatable from there.


Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: reduce this big code Pin
Brady Kelly25-Jul-07 23:23
Brady Kelly25-Jul-07 23:23 
GeneralRe: reduce this big code Pin
duo!@#26-Jul-07 15:22
duo!@#26-Jul-07 15:22 
GeneralRe: reduce this big code Pin
Brady Kelly26-Jul-07 20:23
Brady Kelly26-Jul-07 20:23 
GeneralRe: reduce this big code Pin
duo!@#26-Jul-07 20:45
duo!@#26-Jul-07 20:45 
GeneralRe: reduce this big code Pin
duo!@#26-Jul-07 15:25
duo!@#26-Jul-07 15:25 
AnswerRe: reduce this big code Pin
Sonia Gupta25-Jul-07 18:50
Sonia Gupta25-Jul-07 18:50 
AnswerRe: reduce this big code Pin
Brady Kelly27-Jul-07 3:56
Brady Kelly27-Jul-07 3:56 
GeneralRe: reduce this big code Pin
duo!@#29-Jul-07 16:04
duo!@#29-Jul-07 16:04 
GeneralRe: reduce this big code Pin
Brady Kelly29-Jul-07 21:43
Brady Kelly29-Jul-07 21:43 
QuestionDeployement of web application Issue Pin
padmaja_200625-Jul-07 17:35
padmaja_200625-Jul-07 17:35 
QuestionMenu Control Formatting Pin
dwreck_stg25-Jul-07 15:50
dwreck_stg25-Jul-07 15:50 
AnswerRe: Menu Control Formatting Pin
dwreck_stg26-Jul-07 3:23
dwreck_stg26-Jul-07 3:23 
QuestionSSO Help Pin
Ridge Howison25-Jul-07 12:59
Ridge Howison25-Jul-07 12:59 
QuestionDisplay text with label [modified] Pin
ASPnoob25-Jul-07 12:48
ASPnoob25-Jul-07 12:48 
AnswerRe: Display text with label Pin
Christian Graus25-Jul-07 13:05
protectorChristian Graus25-Jul-07 13:05 
GeneralRe: Display text with label [modified] Pin
ASPnoob25-Jul-07 14:03
ASPnoob25-Jul-07 14:03 
GeneralRe: Display text with label Pin
doWhileSomething25-Jul-07 16:37
doWhileSomething25-Jul-07 16:37 

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.