摘要:
#region DataTable筛选,排序返回符合条件行组成的新DataTable或直接用DefaultView按条件返回 /// /// DataTable筛选,排序返回符合条件行组成的新DataTable或直接用DefaultView按条件返回... 阅读全文
posted @ 2012-08-23 16:12
深南大道
阅读(241)
评论(0)
推荐(0)
摘要:
//Access using System.Data; using System.Data.OleDb; connString ="Provider =Microsoft.Jet.OleDb.4.0;Data Source=" + System.Web.HttpContext.Current.S... 阅读全文
posted @ 2012-08-23 16:03
深南大道
阅读(968)
评论(0)
推荐(0)
摘要:
jQueryAjaxJson取值示例 //Ajax Post Text function savedata(tempid) { var tid = $('#hidtemplate').attr('value'); var ... 阅读全文
posted @ 2012-08-23 15:59
深南大道
阅读(327)
评论(0)
推荐(0)
摘要:
①去除最后的逗号 string str=ab,cd,ef,; str=str.TrimEnd(new char[] { ',' }); 返回结果则是:ab,cd,ef ②去掉日期格式的00:00:00 char [] strRemove={'0',':'}; lblBirthday.... 阅读全文
posted @ 2012-08-23 15:47
深南大道
阅读(1243)
评论(0)
推荐(0)
摘要:
using System; using System.Data; using System.Data.SqlClient; using System.Configuration; using System.Web; using System.Web.Security... 阅读全文
posted @ 2012-08-23 15:42
深南大道
阅读(255)
评论(0)
推荐(0)
摘要:
//Jquery获取控件的值 function JqGetValue(controlID, controltype) { var objValue = ""; switch (controltype) { case 'text': //文本输入框 objValue = $.trim... 阅读全文
posted @ 2012-08-23 15:35
深南大道
阅读(391)
评论(0)
推荐(0)
摘要:
using System; using System.Net.Mail; using System.IO; /// /// Utilities 的摘要说明 /// public static class Utilities { static Utilities() { ... 阅读全文
posted @ 2012-08-23 15:30
深南大道
阅读(129)
评论(0)
推荐(0)
摘要:
private void RpTypeBind() { //GetQuestionTypeAndCount() 返回一个datatable this.rptypelist.DataSource = LiftQuestionCtr.GetQuesti... 阅读全文
posted @ 2012-08-23 15:29
深南大道
阅读(143)
评论(0)
推荐(0)
摘要:
/* 设置sql权限导出Execl EXEC sp_configure N'show advanced options', N'1' RECONFIGURE WITH OVERRIDE EXEC sp_configure N'xp_cmdshell', N'1' RECONFIGUR... 阅读全文
posted @ 2012-08-23 15:22
深南大道
阅读(173)
评论(0)
推荐(0)
摘要:
--包头部分 create or replace package JT_P_page is type type_cur is ref cursor; --定义游标变量用于返回记录集 procedure Pagination (Pindex in number, --要显示的页数索引,从0开始 Psq... 阅读全文
posted @ 2012-08-23 15:19
深南大道
阅读(173)
评论(0)
推荐(0)
摘要:
CREATE TABLE [dbo].[TestTable]( [D_Id] [int] IDENTITY NOT NULL, [D_Name] [varchar](50) NULL, [D_Password] [varchar](32) NULL, [D... 阅读全文
posted @ 2012-08-23 15:17
深南大道
阅读(580)
评论(0)
推荐(0)
摘要:
/// /// 从Excel中导出数据到DataSet中 /// /// Excel文件的绝对路径 /// excel文件中的表名 /// public DataSet ExcelDataSource(string filepath,... 阅读全文
posted @ 2012-08-23 15:12
深南大道
阅读(160)
评论(0)
推荐(0)
摘要:
create or replace procedure EMPLOYEEMOVE_PROCE ( QUERYYEAR in varchar2, QUERYMONTH in varchar2, CUSTOMERID in varchar2, CUSTOMERSE... 阅读全文
posted @ 2012-08-23 15:01
深南大道
阅读(805)
评论(0)
推荐(0)
摘要:
HTML无限层级目录树 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Text; using System.Web... 阅读全文
posted @ 2012-08-23 14:58
深南大道
阅读(213)
评论(0)
推荐(0)
摘要:
一、asp.net中导出Execl的方法: 在asp.net中导出Execl有两种方法,一种是将导出的文件存放在服务器某个文件夹下面,然后将文件地址输出在浏览器上;一种是将 文件直接将文件输出流写给浏览器。在Response输出时,t分隔的数据,导出execl时,等价于分列,n等价于换行。 1... 阅读全文
posted @ 2012-08-23 14:17
深南大道
阅读(139)
评论(0)
推荐(0)
摘要:
/// /// 根据GUID获取16位的唯一字符串 /// /// /// public static string GuidTo16String() { long i = 1; foreach (byte b in Guid.NewGuid().ToByteArray()) i... 阅读全文
posted @ 2012-08-23 11:38
深南大道
阅读(1655)
评论(0)
推荐(0)

浙公网安备 33010602011771号