搜索列表数据并填充网格 [英] search list data and Populate Grid

查看:56
本文介绍了搜索列表数据并填充网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个Webpart,其中我需要一个搜索框和一个grid,员工将在其中搜索名称,它将根据sql表中的记录填充该网格.

i am trying to create an webpart where i need to have an search box and grid , where employee will search there name it will populate the grid based on records in sql table. can you help me to develop this.

推荐答案

您需要使用自定义客户端脚本或编写自定义Web部件来实现.对于SQL表,您需要创建外部列表,因为SQL Server是直接数据源.创建外部列表后,您必须编写自定义客户端脚本(或自定义 Web部件(使用Visual Studio)),并根据自定义搜索以网格形式填充数据.
You need to achive this using custom client script or by writing a custom web part. For SQL table, you need to create external list as SQL server is a direct data source. After creating external list, you have to write custom client side script (or custom web part using visual studio) and populate the data in grid form based on custom search. 


这篇关于搜索列表数据并填充网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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