简体   繁体   中英

is it possible to store ToolStripItemCollection in an SQL table?

I need to share the same ToolStripItemCollection between to.exe

I thought of save the ToolStripItemCollection into an SQL table, so it can be retrieved by both.exe

Is it possible? If so, how can I achieve this and what would be the SQL table datatype

Many thanks.

You can Serialize and store in the database. But that's not a good way of doing that (at least not the best way).

I think you should store all the custom information(Text, icon, etc) that you want to recreate them rather than storing ToolStripItemCollection itself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM