sql分级查询

摘要: 1 USE [zxerp] 2 GO 3 /****** Object: StoredProcedure [dbo].[Pro_GrossProfitCount] Script Date: 06/26/2014 08:48:10 ******/ 4 SET ANSI_NULLS O... 阅读全文
posted @ 2014-06-26 08:49 无限开发 阅读(1015) 评论(0) 推荐(0) 编辑

AspxGridView添加序号列

摘要: using System.Globalization;//CultureInfo需要 protected void AspxGridView_stock_HtmlDataCellPrepared(object sender, DevExpress.Web.ASPxGridView.AS... 阅读全文
posted @ 2014-06-24 15:09 无限开发 阅读(692) 评论(0) 推荐(0) 编辑

c#获取月初日期

摘要: this.TxtBox_Begin.Date = DateTime.Now.Date.AddDays(1-DateTime.Now.Day); 阅读全文
posted @ 2014-06-16 09:15 无限开发 阅读(2131) 评论(0) 推荐(0) 编辑

sqlhelper类

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.SqlClient;namespace Com.LingHu.D... 阅读全文
posted @ 2014-06-14 08:50 无限开发 阅读(187) 评论(0) 推荐(0) 编辑

查询字符串某个字符的个数

摘要: select len('05011045')-len(replace('05011045','0','')) 阅读全文
posted @ 2014-06-14 08:46 无限开发 阅读(370) 评论(0) 推荐(0) 编辑