一次性插入2个列表框中的值 [英] Inserting values from 2 listboxes in one shot

查看:83
本文介绍了一次性插入2个列表框中的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个列表框,其值将被插入一个表格中

一个列表框可以这么做我可以这样做



I have two list boxes whose value is to be inserted in a single table
for one list box its fine I can do it like this

foreach (ListItem listitem in ListBox1.Items)
{
   Save(listitem);
}





Bt for second one我不想更新tabe ..

我想一次性插入2个列表框中的值!



怎么可能?

感谢提前



Bt for second one I do not want to Update the tabe..
I want to insert values from 2 list boxes in one shot!

how is it possible?
Thankx in Advance

推荐答案

使用线程可能对我的想法有帮助。搜索如何使用线程并同时执行两项操作
using thread may help for your question I think. Search for how to use threading and doing 2 things at the same time


这篇关于一次性插入2个列表框中的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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