随笔 - 832, 文章 - 0, 评论 - 46, 阅读 - 156万
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

04 2007 档案

摘要:添加 using System.Web.Mail;#region Build html TalbeSystem.Text.StringBuilder tableStr=new StringBuilder();tableStr.Append("");tableStr.Append("ModelName... 阅读全文

posted @ 2007-04-12 09:45 徐正柱- 阅读(259) 评论(0) 推荐(0) 编辑

摘要:#region Get week name in yearpublic string GetWeekName(string dd) //得到當前日期本周的名字{int FirstSaturday=0;string t1 = Convert.ToDateTime(dd).Year.ToString()... 阅读全文

posted @ 2007-04-12 09:38 徐正柱- 阅读(341) 评论(0) 推荐(0) 编辑

摘要:protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Pager) { string name = ((TableR... 阅读全文

posted @ 2007-04-12 09:25 徐正柱- 阅读(384) 评论(0) 推荐(0) 编辑

摘要:1. 在ItemCreated時重新生成(寫Html)private void Datagrid1_ItemCreated(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { if(e.Item.ItemType == ListItemType.Header) { e.Item.SetRenderM... 阅读全文

posted @ 2007-04-12 09:19 徐正柱- 阅读(284) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示