将多个字段绑定到单个标签控件 [英] Binding Multiple Fields to a Single Label Control

查看:126
本文介绍了将多个字段绑定到单个标签控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以以可视方式(非编程方式)将多个字段绑定到单个标签控件(通过某种字符串格式)?

Is it possible to visually (non-programmatically) bind multiple fields to a single label control (through some sort of string format)?

推荐答案

在Winforms中,由于在数据绑定控件上指定单个DataMember的限制,我不相信这是不可能的。我对WPF或ASP.NET不太确定,但你可能想尝试一些更具体的UI控件论坛来获取更多信息。

Jeff
In Winforms, I do not believe this is not possible due to the limitations of specifying a single DataMember on a data bound control. I'm not as sure for WPF or ASP.NET, but you may want to try one of those forums more specific to UI controls to get more information.

Jeff


这篇关于将多个字段绑定到单个标签控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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