Sunday, November 24, 2013

Convert textbox input to decimal for database query

It's possible that when you bind the SQL data to the DataGridView, the column data type for the averages in the DataGridView is not decimal. Try explicitly setting the .ValueType on the columns for the averages.


Good luck!




- HomeGrownCoder My posts are kept as simple as possible for easier understanding. In many cases you can probably optimize or spruce up what I present. Have fun coding!


No comments:

Post a Comment