[Bindable(true)]
[Category("Appearance")]
[DefaultValue("")]
[Localizable(true)]
public string Text
{
get
{
String s = (String)ViewState["Text"];
return ((s == null) ? String.Empty : s);
} set
{
ViewState["Text"] = value;
}
}
[Category("Appearance")]
[DefaultValue("")]
[Localizable(true)]
public string Text
{
get
{
String s = (String)ViewState["Text"];
return ((s == null) ? String.Empty : s);
} set
{
ViewState["Text"] = value;
}
}
解决方案 »
- SQLSERVER2005 sa登陆失败
- ASP.NET网站查询优化
- 一个数据库远程连接的问题
- 关于Xhtml的问题!
- 紧急求助:如何判断dataset里是否有值
- vs2005-文件-新建-网站,为什么出现的却是“visual studio已安装的模板 windows应用程序”?
- [初学者求助]求各位老师(学无先后,达者为师)帮我写一个对你们来说非常简单的程序……
- 在数据库 'master' 中拒绝了 CREATE DATABASE 权限
- 百分求一通俗解释!
- 这个URL 10.10.10.74/print.aspx?sql=select * from pxnew 该如何写?
- 前台数据的显示
- 如何用<authentication mode="Forms"> 分别来配置两个两个登录入口
http://msdn.microsoft.com/en-us/library/system.componentmodel.bindableattribute.aspxCategoryAttribute:
Specifies the name of the category in which to group the property or event when displayed in a PropertyGrid control set to Categorized mode. [DefaultValue("")]
Specifies the default value for a property.
[Localizable(true)]
http://msdn.microsoft.com/en-us/library/system.componentmodel.localizableattribute.aspx