12 2011 档案

摘要:<%@ Page Language="C#" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Ma 阅读全文
posted @ 2011-12-31 10:25 GerryGe 阅读(776) 评论(0) 推荐(0) 编辑
摘要:if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Cells[6].Text = Server.HtmlDecode(e.Row.Cells[6].Text); e.Row.Cells[7].Text = Server.HtmlDecode(e.Row.Cells[7].Text); e.Row.Cells[8].Text = Server.HtmlDecode(e.Row.Cells[8].Text); e.Row.Cells[9].Text = Server.HtmlDecode(e.Row.Cells[9].Text);// 阅读全文
posted @ 2011-12-21 08:26 GerryGe 阅读(691) 评论(0) 推荐(0) 编辑
摘要:var linqbitem = from wip in dt_onwip.AsEnumerable() join bitem in dt_cos_bitem.AsEnumerable() on wip.Field<string>("item_no").Trim() equals bitem.Field<string>("item_no").Trim() into s from t in s.DefaultIfEmpty() select new { item_no = wip.Field<string>("i 阅读全文
posted @ 2011-12-20 13:36 GerryGe 阅读(2469) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 匯出到Excel /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void btnExport_Click(object sender, EventArgs e) { ExportGridViewToExcel(Response, GridView_trdord, "Tracing"); } //到出e 阅读全文
posted @ 2011-12-19 11:20 GerryGe 阅读(444) 评论(1) 推荐(0) 编辑
摘要://动态创建DataTable用来绑定到GridView。DataTable dt_per = new DataTable(); DataColumn column_per; column_per = new DataColumn(); column_per.DataType = System.Type.GetType("System.String"); column_per.ColumnName = "ord_nbr"; column_per.ReadOnly = true; column_per.Unique = true; dt_per.Colum 阅读全文
posted @ 2011-12-14 14:54 GerryGe 阅读(1487) 评论(1) 推荐(0) 编辑
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=big5 阅读全文
posted @ 2011-12-13 11:41 GerryGe 阅读(664) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
主题色彩