hi everyone
i am doing my assignmemt in C#.Most of the time i face exception like "overflow or underflow in arithmetic operation". i dont know why it occur and how to remove it.

Can you please post your code?

whatever i do this exception will be there,when i run a Form without doing anything it will be execute and when i place some controls on the Form,it give that exception

Yeah, but can you please post some of your code that causes this exception? That should help us more in figuring out your issue.

This normally shouldn't happen when you're just doing arithmetic, so it would help to see if there's something special that you're doing. Does this happen if you make a new Windows Forms application, and try to start it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.