如何在数据列表中填充有限的数据 [英] how can populate limited data in datalist

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

问题描述

亲爱的所有人
我想在数据列表中填充有限的数据我该怎么办
这里有限的数据意味着...........
如果有任何资料栏位有10万个字,那我只想在资料清单中显示
这5个单词posible

Dear to all
i want to populate limited data in datalist how can i do
here limited data mean...........
if any datafield hava 1000 thousand words then i want only show in datalist only
5 words this posible

推荐答案

嗯:想想我知道你可能在问什么.也许从此处开始 [
Hmm: think I know what you might be asking. Perhaps start here[^].


使用可以在sql qry中使用SUBSTRING函数进行获取数据字段中的数据有限.例如

Use can use SUBSTRING function in your sql qry for get limited data in data field. for example

SELECT SUBSTRING(Name,0,5) as ShortName from tblEmployee



然后结果显示为数据列表源

谢谢



then the result show as datalist source

thanks


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

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