摘要: Jquery+Ajax+Json分页 编号 ... 阅读全文
posted @ 2012-12-22 12:18 深南大道 阅读(189) 评论(0) 推荐(0)
摘要: #region 获得字符串中开始和结束字符串之间的值 /// /// 获得字符串中开始和结束字符串之间的值 /// /// 字符串 /// 开始 /// 结束 /// ... 阅读全文
posted @ 2012-12-20 10:39 深南大道 阅读(302) 评论(0) 推荐(0)
摘要: select EvalCalculate( 'case when 1=1 then 1000*0.1-2+15/2 when 1=2 then 2000 when 1=3 then 3000 when 1=4 then 4000 e... 阅读全文
posted @ 2012-12-19 15:11 深南大道 阅读(596) 评论(0) 推荐(0)
摘要: Compute函数的参数就两个:Expression,和Filter。 Expresstion是计算表达式,关于Expression的详细内容请看这里“http://msdn2.microsoft.com/zh-cn/library/system.data.datacolumn.expressi... 阅读全文
posted @ 2012-12-17 22:12 深南大道 阅读(493) 评论(0) 推荐(0)
摘要: Jquery 同辈元素选中/未选中效果 模板001(一行三列) ... 阅读全文
posted @ 2012-12-13 12:27 深南大道 阅读(262) 评论(0) 推荐(0)
摘要: //loading function showLoad(tipInfo) { var iWidth = 120; //弹出窗口的宽度; var iHeight = 0; //弹出窗口的高度; var scrolltop = 0; var scroll... 阅读全文
posted @ 2012-12-12 23:18 深南大道 阅读(200) 评论(0) 推荐(0)
摘要: protected void txtFILESAVEFEE_TextChanged(object sender, EventArgs e) { TextBox t = (TextBox)sender; int Index = ((GridViewRo... 阅读全文
posted @ 2012-12-12 16:25 深南大道 阅读(234) 评论(0) 推荐(0)
摘要: The Chi-lites Soul A lonely man 1972 Babyface R&B unknown Babyface R&B The essential ba... 阅读全文
posted @ 2012-12-11 16:59 深南大道 阅读(172) 评论(0) 推荐(0)
摘要: 仿google、百度搜索框输入信息智能提示的实现 兼容主流浏览器 using System; using System.Web; using System.D... 阅读全文
posted @ 2012-12-06 14:12 深南大道 阅读(240) 评论(0) 推荐(0)
摘要: --行列互转/*********************************************************************************************************************************************... 阅读全文
posted @ 2012-12-06 10:36 深南大道 阅读(241) 评论(0) 推荐(1)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Web.UI; using System.Web.UI.Web... 阅读全文
posted @ 2012-12-05 17:23 深南大道 阅读(287) 评论(0) 推荐(0)
摘要: create or replace function row_to_col_func(tabname in varchar2,--tabname 需要进行行转列操作的表名; group_col in varchar2,--gro... 阅读全文
posted @ 2012-12-05 15:59 深南大道 阅读(380) 评论(0) 推荐(0)
摘要: LinQ实现DataTable不定行转列 原始表: 转换以后的表: using System;using System.Collections.Gen... 阅读全文
posted @ 2012-12-05 11:41 深南大道 阅读(242) 评论(0) 推荐(0)
摘要: Linq强大查询功能 using System; using System.Collections.Generic; using System.Linq; u... 阅读全文
posted @ 2012-12-04 10:29 深南大道 阅读(297) 评论(0) 推荐(0)
摘要: 1. 测试环境: Item 发布机 A 订阅机 B OS Windows 2003 Server Windows 2003 Server SQL SQL Server 2005 企业版 SQL Server 2005 企业版 ... 阅读全文
posted @ 2012-12-03 09:46 深南大道 阅读(308) 评论(0) 推荐(0)
摘要: //数据统计至页脚显示 protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Foo... 阅读全文
posted @ 2012-11-30 17:25 深南大道 阅读(226) 评论(0) 推荐(0)
摘要: GridView排序 ... 阅读全文
posted @ 2012-11-30 17:21 深南大道 阅读(222) 评论(0) 推荐(0)
摘要: 执行一下这个sql: SELECT B.[name], C.[name] AS [type], B.length, B.isoutparam, B.isnullableFROM sysobjects AS A INNER JOIN";syscolumns AS B ON A.id = B.id ... 阅读全文
posted @ 2012-11-30 16:59 深南大道 阅读(201) 评论(0) 推荐(0)
摘要: Repeater嵌套Repeater的结构:一般写过的都能看懂吧 private void RpTypeBind() { //GetQuestionTypeAndCount() 返回一个datatable this.rptypelist.DataS... 阅读全文
posted @ 2012-11-30 16:55 深南大道 阅读(787) 评论(0) 推荐(0)
摘要: 作为一名DBA,他们最常见的日常任务是: 1)定期完成数据库的完全备份或差异备份。 2)定期清理备份文件,因为存储空间有限,可能只需要保存一个时期段内的文件(比如一周内或一月内)。 而如何做到这两点呢?笔者相信在SQL SERVER2005版本出来之前要实现这种功能,也是可以实现的,只是实现... 阅读全文
posted @ 2012-11-30 16:48 深南大道 阅读(469) 评论(0) 推荐(0)
摘要: HTTP压缩方式,采用的是Windows系统设置的方式,优点是效率较高。 一. HTTP压缩概述 HTTP压缩是在Web服务器 和浏览器间传输压缩文本内容的方法。HTTP压缩采用通用的压缩算法如gzip等压缩HTML、JavaScript或 CSS文件。压缩的最大好处就是降低了网络传输的数... 阅读全文
posted @ 2012-11-30 16:42 深南大道 阅读(139) 评论(0) 推荐(0)
摘要: -- 19-1:建立无参数的函数 CREATE OR REPLACE FUNCTION cur_datetime RETURN VARCHAR2 IS BEGIN RETURN TO_CHAR(sysdate, 'YYYY"年"MM"月"DD"日"HH24″时"MI"分"SS"秒"'); END... 阅读全文
posted @ 2012-11-30 11:49 深南大道 阅读(1065) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Data; using System.Data.Common; namespace DbHelper { /// /// 通用数据库访问类,封装了对数据库... 阅读全文
posted @ 2012-11-28 16:56 深南大道 阅读(321) 评论(0) 推荐(0)
摘要: GridView动态新增行 批量编辑保存 新增验证:控件宽度和高度为 非0的正整数 ... 阅读全文
posted @ 2012-11-27 16:37 深南大道 阅读(246) 评论(0) 推荐(0)
摘要: DataTable dt = Maticsoft.DBUtility.DbHelperOra.Query(QuerySql).Tables[0]; #region 创建新的DataTable DataTable dtShow = new DataTable(); dtShow.Col... 阅读全文
posted @ 2012-11-27 13:42 深南大道 阅读(1101) 评论(0) 推荐(0)
摘要: 一、应用背景: 做项目的时候经常会有这种需求,比如让你罗列一下所有人员的专业信息,要求是第一列列出人员姓名,第二列列出专业信息,当出现很多人员会有多个专业信息的时候,第一列的人员姓名就会重复出现,客户经常会问能不能把它合并了啊?想Excel表那样多好看啊?这个当然可以实现。 二、实现方法: ... 阅读全文
posted @ 2012-11-26 13:50 深南大道 阅读(190) 评论(0) 推荐(0)
摘要: string url = string.Format( "http://bms.hichina.com/sms_gateway/sms_api?" + "user_id={0}&password={1}&mobi... 阅读全文
posted @ 2012-11-26 12:57 深南大道 阅读(572) 评论(0) 推荐(0)
摘要: using System; using System.Data; using System.Text; using System.Collections.Generic; using System.Reflection; using System.Data.Common; using Syste... 阅读全文
posted @ 2012-11-26 11:30 深南大道 阅读(427) 评论(0) 推荐(0)
摘要: using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Data; namespace MSCL { /// /// 生成条... 阅读全文
posted @ 2012-11-23 14:49 深南大道 阅读(395) 评论(0) 推荐(0)
摘要: 大家在实际工作学习C#的时候,可能会问:为什么我们要为一些已经存在的功能(比如Windows中的一些功能,C++中已经编写好的一些方法)要重新编写代码,C#有没有方法可以直接都用这些原本已经存在的功能呢?答案是肯定的,大家可以通过C#中的DllImport直接调用这些功能。 DllImport所... 阅读全文
posted @ 2012-11-23 14:12 深南大道 阅读(284) 评论(0) 推荐(0)