本文介绍了帮助ListView框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个listview框,它们各自的数据存储在数据库中。我在代码事件SelectIndexChanged中编写了什么代码。例如:str =从casetab中选择判断WHERE partyname =''+ listView1.Items +'';



我应该将这个listView1.Items更改为???



请指教。谢谢你,Nirmal

I have two listview boxes and their respective data is being stored in the database. What code I write in code event SelectIndexChanged. Ex: str = "select judgement from casetab WHERE partyname=''" + listView1.Items + "''";

What should i change this "listView1.Items" to???

Please advise. Thank you, Nirmal

推荐答案

listView1.SelectedItems.ToString()



SAK可能会对此有疑问,但我不确定如何使用ENUMS,但绝对无法告诉其他人。


SAK might take issue with this, but I am not exactly sure how to use ENUMS yet and definitely am not capable of telling others to.


这篇关于帮助ListView框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 21:42