![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Asp.net标准控件的使用
文章平均质量分 73
longer123123
就这样
展开
-
DataList中如何格式化字符串(页面显示评论内容显示)
1.后台 早就为datalist绑定了数据源 2.然后在后台还提供我刚才的那个截取方法 //格式化评论内容(格式化就用这个) protected string Famart(string str) { int numId = 0; //定义行数 int wordsInRow = 20; //定义一行显示多少个字符原创 2009-03-04 18:25:00 · 1287 阅读 · 0 评论 -
为ASPxComboBox 控件动静态绑定下拉项的方法
1定义提供数据源的方法:protected IEnumerable GetParentRoleDataSource(object categoryId) { IEnumerable results = from r2 in eDataContext.Role where r2.IsDeleted ==原创 2009-03-18 17:54:00 · 5796 阅读 · 0 评论