So? What matters for the masses is the default experience. And in their own ad block implementation they whitelist their ad platform by default. What they care about is making their ad platform more relevant and a good way to do that in their own browser implementation is to blacklist google's platform (lowering its market share) and whitelist theirs (increasing its market share).
This Mac mini was a bit of a bargain. £435 from eBay 4 years ago. The previous owner hadsn't deleted all his data from it, only his user account. All his apps were still on it, and some rather risque pics of his wife ... or mistress!
As for OpenCore Legacy Patcher ... I installed it on a 2009 model MacBook given to me by a friend. The MacBook currently runs macOS Ventura, but is now out of action since the offical Apple charger is goosed due to minor cable damage.
If that old Macbook comes out of retirement, it'll probably end up with Linux.
Question
$phinX
This is the code:
cmbBalSheetCat.Items.Clear(); cmbBalSheetCat.DataSource = dtResults; cmbBalSheetCat.ValueMember = "BalanceSheetCategoryID"; cmbBalSheetCat.DisplayMember = "BalanceSheetCategoryName"; cmbBalSheetCat.SelectedIndex = -1;
It errors on setting the .ValueMember saying the 'Specified cast is not valid'.
dtResults is populated like so:
I dont understand why im getting this error. I have similar code for a combo on a different form that works fine!!
Do i need to specify column types or something? If so, how comes it works fine without it on other forms and not this one?
Any ideas?
Link to comment
https://www.neowin.net/forum/topic/416380-c-combobox-specified-cast-not-valid/Share on other sites
4 answers to this question
Recommended Posts