使用添加外部数据将表从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 theDesktop 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客户端和外部数据源
发布评论