HTML客户端和外部数据源 [英] HTML Client and external datasource

查看:93
本文介绍了HTML客户端和外部数据源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用添加外部数据将表从SQL Server数据库添加到我的lightswitch应用程序(使用update2).具有桌面客户端和HTML客户端.如果我将表添加到桌面客户端屏幕,显示值.如果我添加 到HTML客户端屏幕的表格中,则不会显示这些值.

Added table from SQL Server database to my lightswitch application( using update2) using add external data.  Have Desktop client and HTML client.  If  I add the table to the Desktop client screen the values show up.  If I add the table to the HTML Client screen the values don't show up.

在这两种情况下,我都在外部数据库上运行了SQL事件探查器,并进行了正确的查询.

In both cases I ran sql profiler on the external database and the the correct query was made.

有什么建议吗?

推荐答案

该查询已在HTML客户端上正确执行,因此看起来您具有正确的屏幕集合"属性.我会检查您是否在绑定到Screen Collection属性的屏幕上具有正确的列表视图(或只是将Screen Collection拖放到屏幕上) 再次将其分配给屏幕设计器.)

The query was executed correctly on the HTML Client, so it looked like you have the correct Screen Collection Property. I would check if you have the correct List View on the Screen bound to the Screen Collection Property (or just drag/drop the Screen Collection Property to the Screen Designer again).

如果仍然无法正常运行,您可以在屏幕设计器中发布HTML屏幕的屏幕截图吗?

If it still does not work, can you post a screenshot of your HTML Screen in the Screen Designer?

谢谢,
惠·阮(Huy Nguyen)

Thanks,
Huy Nguyen


这篇关于HTML客户端和外部数据源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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