如何获取具有两列或更多列的行的列表,例如AutoCompleteStringCollection [英] How to get list of Rows with two or more columns like AutoCompleteStringCollection

查看:122
本文介绍了如何获取具有两列或更多列的行的列表,例如AutoCompleteStringCollection的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在代码中使用Autocompletestringcollection.一切正常.
我正在添加字符串数组{''ABC'',''PQR'',XYZ'',STU''},它会给我一个像列表一样的字符串
ABC
PQR
XYZ
STU
我一个接一个地得到琴弦.

现在,我试图像autocompletestringcollection那样用两列或更多列的行.这个怎么做?我必须在组合框和datagridview中使用它.
请帮助我.

I am using Autocompletestringcollection in my code. It is working fine.
I am adding string array {''ABC'',''PQR'',XYZ'',STU''} and it will give me string like a list
ABC
PQR
XYZ
STU
I am getting strings one by one.

Now I am trying to get a row with two or more columns in the way just like autocompletestringcollection gives. How to do this? I have to use this with a combobox and in datagridview.
Please help me.

推荐答案

您好
看看此处 [
Hi
Have a look Here[^].

i think you want like this.


这篇关于如何获取具有两列或更多列的行的列表,例如AutoCompleteStringCollection的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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