CheckedListbox doesn't have a DataSourceValue property? Orware !!

xiaoxiao2021-03-17  168

CHECKEDLISTBOX should be extended by ListBox? But when you are using, it may be found - it does not support the DataSource property, which cannot specify its data source as a DataTable like ListBox.

In fact, CheckedListBox has a DataSource property like Listbox, the displaymember and the valuememeber attribute are all, just

IntelliSense cannot unfold its intelligence.

MSDN:

This Property Supports the .NET Framework INFRASTRUCTURE AND IS Not Intended To Be Used Directly from your code.

转载请注明原文地址:https://www.9cbs.com/read-129483.html

New Post(0)