我想将我的数据添加到现有的datagridview中作为c#中的新列 [英] I Want to add my data to the existing datagridview as new columns in c#

查看:144
本文介绍了我想将我的数据添加到现有的datagridview中作为c#中的新列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

i有一个问题,比如

1.我有一个语言列表

2.默认我会列出英语

3.user从checkedlistbox中选择其他语言,

4.如果他选择其他语言,语言数据应作为额外列显示在默认旁边的datagridview中语言。



感谢任何帮助。

hi guys,
i have a problem like
1. i have a list of languages
2.by default i will list the english
3.user selects other languages from the checkedlistbox,
4.if he selects other language, the language data should be displayed as extra columns into the datagridview beside the default language.

any help is appreciated.

推荐答案

在运行时,您应该添加列从列表中选择的每个复选框,以显示默认语言旁边的信息。
At runtime, you should have to add column for each checkbox selected from the list to display info next to default language.


这篇关于我想将我的数据添加到现有的datagridview中作为c#中的新列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆