hehe将值填到combobox中,combobox不要设成dropdownlist就可以了啊
解决方案 »
- VS2010开发环境中丢失部分开发模板,怎解决?
- 求助!对XML的修改
- 简单问题listbox的值
- 提交个问题,希望得到各位版主的帮助在线等。。。。。。。。。。
- 怎么在win form作OWC(高分求购,不够在加!!!))
- 写一程序监控一文件夹下的文件是否有更新,有更新则更新记录该文件夹文件的表
- FrontPage Server Extension 装不上怎么办,哪位能告诉我,小弟没齿难忘
- c#中可不可以通过一个函数将整型数组变为字符串?
- 导入txt文档和拆分txt文档
- 我的devexpress里为什么没有PrintingSystem控件
- DataGrid1数据源的更新?
- c#中全局的鼠标钩子
Category("Behavior"),
DefaultValue(MyType.a),
Description("This is a test")
]
{
a,
b,
c,
d
}
Category("Behavior"),
DefaultValue(MyType.a),
Description("This is a test")
]
public MyType MyTest
{
get{return t;}
set{t = value;}
} public enum MyType
{
a,
b,
c,
d
}这是服务器控件
你用 enum 就是错误的设计。
不过我的MyTest是虚方法
vitual
// Category("Behavior"),
// DefaultValue(MyType.a),
// Description("This is a test")
// ]
public virtual MyType MyTest
{
get{return t;}
set{t = value;}
} public enum MyType
{
a,
b,
c,
d
}
你的是这样吗?
还请各位过来看看是什么问题.