Get INT from DataTable C#
Posted on 2009-04-14
Hi I have a DataTable if INT and strings.
When i retrive the string from the DataTable "TextBox1.Text = datatable.Rows.ToString();"
I have no problem, but when i want to retrive a INT from the datatable in the same way to a numberupdownBox "numericUpDown1.Value = ordt.Rows;" the error "Cannot implicitly convert type object to decimal kept blocking.
How can I solve this?