开发者

How add Multiple selection Listbox to a cell in Excel

How do I add a Multiple selection list to an Excel spredsheet in each cell of one column. I need to be able to read the selected values in c#.

Looking for a managed code solution. CANNOT USE INTEROP

Anything that allows a multiple selection and the aability to read using OLEDB, currently using a listbox.

WE can only use ADO.NET & C#

The dropdown list must appear in each row and it's vaule shoul开发者_运维百科d be read from OLEDB.


You can use VSTO to create an Excel worksheet, add a ListBox, set it's SelectionMode to "MultiSimple" or MultiExtended". You can the write the code behind to create it however you like - on all rows, getting data from OLEDB, etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜