Answer to Question #30415 in C# for shanmukhareddy

Question #30415
I have parts produced and parts rejected options in my app. My client gave me a condition to put:

At any time parts rejected should not be less than the parts produced
and
You should be able to save even if the parts produced is 0*
What do I need to put the condition there to make it successful?

Parts produced/rected those are textbox names

the data in the textboxes we can select it from database
now i have the condition like

if (partProduced <= _runtime.PartsRejected)
{
errorMessage.Append("Parts rejected should not be greater than or equal to parts produced." + Environment.NewLine);
}

this is the condition i have now i need to change it as my client requirement
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS