摘要: ORACLE中,where条件以后的null值判断最好不要使用,这样查询时不能使用索引,降低查询速度。但是在select之后可以使用,影响不大。 阅读全文
posted @ 2015-09-10 13:33 网络飞侠 阅读(510) 评论(0) 推荐(0) 编辑
摘要: 这里说到的查询有两种。1.DataTable.Select2.DataTable.Rows.Finda>先建立一个DataTable供使用吧。/// /// 获取单张表 /// /// public static Data... 阅读全文
posted @ 2015-09-10 13:31 网络飞侠 阅读(540) 评论(0) 推荐(0) 编辑
摘要: // 一:for (int i = 0; i < comboBox1.Items.Count; i++){ MessageBox.Show(comboBox1.GetItemText(comboBox1.Items[i]));}//二:foreach (System.Data.DataRowV... 阅读全文
posted @ 2015-09-10 13:22 网络飞侠 阅读(1233) 评论(0) 推荐(0) 编辑
摘要: private void txtPackno_KeyPress(object sender, KeyPressEventArgs e) { if ((int)e.KeyChar == 13) //回车键 { t... 阅读全文
posted @ 2015-09-10 13:19 网络飞侠 阅读(137) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Data;using System.Text; namespace Gzcms.Common{ public class CreateTable { pub... 阅读全文
posted @ 2015-09-10 13:17 网络飞侠 阅读(867) 评论(0) 推荐(0) 编辑