Blend 中的数据绑定

发布于 2024-09-24 18:54:07 字数 344 浏览 1 评论 0原文

我找到了一个关于如何将控件绑定到 XML 的精彩视频数据集完全在 Blend 中生成,无需任何代码。

我正在尝试做同样的事情 - 将文本框绑定到数据集的值 --> MyDataSet.xsd 获取表中的总行数(执行:select count(id) from books)。我在 Expression Blend 4 中很难做到这一点。我知道如何从代码隐藏文件进行数据绑定,但这次我真的希望在不编写一行代码或弄乱我的 XAML 的情况下获得相同的结果。

I have found an excellent video about how to bind controls to an XML dataset completly in Blend without a single line of code.

I am trying to do the same - bind a textbox to a value of Dataset --> MyDataSet.xsd which grabs the total number of rows in a table (executes: select count(id) from books). And I am having a hard time doing this in Expression Blend 4. I know how to databind from code-behind file, but this time I really want to achieve the same results without writing a single line of code or messing with my XAML.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文