摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1CREATETABLE[dbo].ShoppingCart2(3CartIDINTIDENTITY(1,1)NOTNULLPRIMARYKEY,4UserIDINTNOTNULL,5ProductI... 阅读全文
posted @ 2010-08-01 17:57
libingql
阅读(280)
评论(0)
推荐(0)
摘要:
foreach (DataRow dr in dt.Rows){ foreach (DataColumn dc in dt.Columns) { Console.WriteLine(dr[dc]); }} 阅读全文
posted @ 2010-08-01 17:16
libingql
阅读(243)
评论(0)
推荐(0)
摘要:
DataTable dt = new DataTable();dt.Columns.Add("LogID", typeof(int));dt.Columns.Add("CityNo", typeof(string));dt.Columns.Add("OperateName", typeof(int));dt.Columns.Add("Description", typeof(string));dt... 阅读全文
posted @ 2010-08-01 16:14
libingql
阅读(613)
评论(0)
推荐(0)
摘要:
StringBuilder sbEquipment = new StringBuilder();foreach (ListItem li in chklEquipment.Items){ if (li.Selected) { sbEquipment.AppendFormat("{0}|", li.Text); }}if (sbEquipment.Length > 1){ sbEquipmen... 阅读全文
posted @ 2010-08-01 16:01
libingql
阅读(183)
评论(0)
推荐(0)
摘要:
StringBuilder sbLogID = new StringBuilder();foreach (GridViewRow row in gvLog.Rows){CheckBox chk = row.FindControl("chkItem") as CheckBox;if (chk != null && chk.Checked){sbLogID.AppendFormat("... 阅读全文
posted @ 2010-08-01 15:29
libingql
阅读(216)
评论(0)
推荐(0)

浙公网安备 33010602011771号