12 2018 档案
摘要:1 SQL分页查询,每页10个数据,取第三页 A) 如果有id列 select top(10) * from Spider_Hotel where Spider_Hotel.HotelId not in ( select top (10*2) Spider_Hotel.HotelId from Sp
阅读全文
摘要:winfrom: private void dteStartDate_Validating(object sender, CancelEventArgs e) { if (!CheckStartDateEndDate(true)) { XtraMessageBox.Show("起始日期不能大于结束日
阅读全文
摘要:#region 使用SqlBulkCopy将DataTable中的数据批量插入数据库中 /// <summary> /// 注意:DataTable中的列需要与数据库表中的列完全一致。 /// </summary> /// <param name="conStr">数据库连接串</param> //
阅读全文
摘要:private DataTable UpdateDataTable(DataTable argDataTable) { DataTable dtResult = new DataTable(); //克隆表结构 dtResult = argDataTable.Clone(); foreach (Da
阅读全文

浙公网安备 33010602011771号