在网格视图控件中显示搜索HITS [英] Displaying Search HITS in Grid View Control

查看:62
本文介绍了在网格视图控件中显示搜索HITS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有Hashtable包含的数据,我需要在网格View中显示它.对此我有些怀疑.如何显示哈希表中的多列数据.如何显示一个GridView的不同ArrayList中的数据.

Hi,
I have got Hashtable contains data, which i need to display in grid View.I have some doubts regarding this. How can i display multiple columns of data from hashtable.How can i display the data from different ArrayList for one GridView.

推荐答案

绑定代码
GridView1.Datasource= Hashtable;
GridView1.Databind();


但是您不能将多个以上的数组列表绑定到gridview.您可以将源合并为一个哈希表或数据表,然后可以将结果对象绑定到gridview.


but you can''t bind more than one different arraylist to gridview. you can merge the sources into one like hashtable or datatable then you can bind the result object to gridview.


这篇关于在网格视图控件中显示搜索HITS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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