摘要:添加 using System.Web.Mail;#region Build html TalbeSystem.Text.StringBuilder tableStr=new StringBuilder();tableStr.Append("");tableStr.Append("ModelName...
阅读全文
posted @ 2007-04-12 09:45
|
|||
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
摘要:#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
摘要:protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Pager) { string name = ((TableR...
阅读全文
posted @ 2007-04-12 09:25
摘要: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
|
|||