Casting types in datagridview cells
I would like to be able to pass the value of a datagridview cell to your PlaceBet function for speed rather than fiddling with nudges and text boxes.
However, as Betfair require odds to be decimals, I am finding it impossible to pass the value in a cell to the PlaceBet function.
eg. layOdds = SelectedGrid.Item("Back", e.RowIndex)
Attempts I make at type casting gives me errors.
Any ideas?
I would like to be able to pass the value of a datagridview cell to your PlaceBet function for speed rather than fiddling with nudges and text boxes.
However, as Betfair require odds to be decimals, I am finding it impossible to pass the value in a cell to the PlaceBet function.
eg. layOdds = SelectedGrid.Item("Back", e.RowIndex)
Attempts I make at type casting gives me errors.
Any ideas?


Comment