摘要:
View Code //遍历当前返回商品信息 for (int i = 0; i < dtOrderInfo.Rows.Count; i++) { //用于存储每次用户扫描返回订单详细数据集 for (int y = 0; y < this.dtOrderItem.Rows.Count; y++) ... 阅读全文
摘要:
DataSet ds = new DataSet();string SQLCompany = "select * from job_company";string SQLjob = "select * from job_job "; ds.Tables.Add(DbHelperSQL.GetValueDataTable(SQLCompany, "company"));ds.Tables.Add(DbHelperSQL.GetValueDataTable(SQLjob, "job_job"));ds.Relation 阅读全文
摘要:
1、通过check多选框选择给当前数据源添加一条,列名Check 然后在gridview添加一列绑定Check列名dtOrderBind.Columns.Add("Check", System.Type.GetType("System.Boolean"));指定全选列(Check)的imageIndex默认图片(用微软Imagelist控件)以下是gridview点击事件View Code #region 事件:订单全选 private void grvPrintOrder_Click(object sender, EventArgs e) { ... 阅读全文