1
Answer

Pitcurebox image problems

axb924

axb924

20y
2k
1
I am trying to set images from an imagelist to the picturebox's image. Whats wrong with this code I keep getting the error: "An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in system.windows.forms.dll Additional information: Specified argument was out of the range of valid values." Code: Component_Image.Image = Component_Images.Images[0]; Arindam Biswas
Answers (1)
0
Crish
NA 3.7k 76.4k 14y
hi

use datagridview's Rowdatabound event for calculating amount. then store it in textbox which u have taken outside of the grid.

you can find each label control values in Rowdatabound event . Sum of there and finally store value in textbox.

Don't forget to Mark Do you like this Answer
 that solved your problem!