c# Numericupdown to pass a value to an integer
问题 Good day everyone, I'm having a problem passing a numericupdown value into an interger. private void button5_Click(object sender, EventArgs e) { int count = numericUpDown1.Value; updateCount(count); } So, what I want to do it so pass the value of the numericupdown value into integer named count and then pass the value into a method that updates a table in my database. I just started c# lately and cant seem to understand some some documentation. Thank you guys! 回答1: NumericUpDown.Value returns