lrary

时光荏苒,岁月流逝,仅以此纪念那一段走过来的开发岁月,希望哪天回首时,仍能想起一幕幕难忘的日子。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2006年4月26日

摘要: DataGrid里删除列(超链接)弹出确认对话框!private void DataGrid1_ItemCreated(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { //判断如果是DataGrid控件中的项、交替项以及编辑项 switch(e.Item.ItemType) { case L... 阅读全文
posted @ 2006-04-26 12:45 lrary 阅读(231) 评论(0) 推荐(0) 编辑

摘要: 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=curr... 阅读全文
posted @ 2006-04-26 12:42 lrary 阅读(333) 评论(0) 推荐(0) 编辑

摘要: 16?DataBinder.Eval (Container.DataItem,"FileName").ToString().Replace("\n","").Replace("","&gt").Replace("\r","").Replace(" "," ").Substring(0,16):DataBinder.Eval (Cont... 阅读全文
posted @ 2006-04-26 12:40 lrary 阅读(408) 评论(0) 推荐(0) 编辑

摘要: 整个框架集重定向到其它页面Response.Write("");--------------------关闭框架集页面Response.Write("");---------------------------------------------如何在右边框架中刷新左侧框架中的页面window.location.reload(); ----------------------------... 阅读全文
posted @ 2006-04-26 12:39 lrary 阅读(300) 评论(0) 推荐(0) 编辑