• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






郭文斌

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  .NET C#

.NEt C#
 
创建Array将Arraylist复制到Array
只有注册用户登录后才能阅读该文。
posted @ 2012-03-18 08:40 郭文斌 阅读(86) 评论(1) 推荐(1)
清空多个文本框
摘要:private void ClearText(Control cParent) { foreach (Control c in cParent.Controls) { if (c.HasControls()) { ClearText(c); } else { if (c is TextBox) { ((TextBox)c).Text = string.Empty; } } } } 阅读全文
posted @ 2012-03-15 11:21 郭文斌 阅读(138) 评论(0) 推荐(0)
下拉框指定页面条数
摘要:1.. 前台<PagerTemplate> <asp:DropDownList ID="ddlpage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlpage_SelectedIndexChanged"> <asp:ListItem>12</asp:ListItem> <asp:ListItem>20</asp:ListItem> <asp:ListItem& 阅读全文
posted @ 2012-03-15 11:17 郭文斌 阅读(159) 评论(0) 推荐(0)
下拉框绑定
摘要:/// <summary> /// 填充下拉框 /// </summary> /// <param name="strSql"></param> /// <param name="drp"></param> /// <param name="strValue"></param> /// <param name="strTxt"></param> /// <returns></re 阅读全文
posted @ 2012-03-15 11:14 郭文斌 阅读(179) 评论(0) 推荐(0)
截取字符
只有注册用户登录后才能阅读该文。
posted @ 2012-03-15 10:52 郭文斌 阅读(12) 评论(0) 推荐(0)
后台判断调用JS方法
只有注册用户登录后才能阅读该文。
posted @ 2012-03-15 10:42 郭文斌 阅读(8) 评论(0) 推荐(0)