摘要: 1.如图所示:解释: ---install.bat 安装bat ---InstallUtil.exe C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727目录下文件 ---InstallUtilLib.dll C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727目录下文件 ---***.ReminderService.exe 程序debug文件夹下的生成文件 ---***.ReminderService.exe.config 程序debug文件夹下的生成文件 ... 阅读全文
posted @ 2012-08-10 16:55 刀叨 阅读(257) 评论(0) 推荐(0)
摘要: USE [Princess]GO/****** Object: StoredProcedure [dbo].[p_PaymentTransactions_Insert] Script Date: 08/10/2012 10:33:12 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOALTER PROCEDURE [dbo].[p_PaymentTransactions_Insert] @PaymentID integer, @InvoiceNo varchar(10), @BalanceAmount decimal(14,... 阅读全文
posted @ 2012-08-10 13:06 刀叨 阅读(283) 评论(0) 推荐(0)
摘要: ExportData类:View Code /// <summary> /// xxx /// 导出报表数据存入word或excel文件 /// 2012-03-21 /// </summary> public class ExportData { #region 构造函数 public ExportData() { // // TODO: 在此处添加构造函数逻辑 // } #endregion ... 阅读全文
posted @ 2012-07-26 15:43 刀叨 阅读(257) 评论(0) 推荐(0)
摘要: 1.页面插入:<script language="javascript" type="text/javascript"> function preview() { bdhtml = window.document.body.innerHTML; sprnstr = "<!--startprint-->"; eprnstr = "<!--endprint-->"; prnhtml = bdhtml.substr(bdhtml.ind... 阅读全文
posted @ 2012-07-09 15:02 刀叨 阅读(453) 评论(0) 推荐(0)
摘要: View Code using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web.UI.WebControls;using System.Web.UI.HtmlControls;namespace xxxx{ public class RepeaterSetting { /// <summary> /// 合并Repeater中某行相同信息的行(单元格) /// </summary> /// ... 阅读全文
posted @ 2012-07-05 16:38 刀叨 阅读(449) 评论(0) 推荐(0)
摘要: 首先,首先将AjaxPro.2.dll引用到项目中并在webconfig里面添加配置:<httpHandlers> <add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2"/></httpHandlers>其次,编写前台页面代码:<tr> <td width="15%" height="28" class="cont 阅读全文
posted @ 2012-06-07 15:28 刀叨 阅读(233) 评论(0) 推荐(0)
摘要: 目录:1.javascript弹出提示窗口(不改变原页面样式);2..net之EMail正则表达式验证;3.Gridview中绑定数据常用的有两种方式;4.获取Gridview控件中添加的Label控件或者Button控件实例有以下几种方法(不同情况时用);5.返回"按钮"事件(返回到原页面);6.GridView的DataBound事件中判断行的类型;7.OnClientClick带参数事件;8.GridView中添加统计列;9.GridView中添加统计行;10.FileUpload控件上传图片;11.ImageButton控件显示图片;12.SQL添加序号;13.SQ 阅读全文
posted @ 2012-04-27 11:06 刀叨 阅读(245) 评论(0) 推荐(0)
摘要: 做了一个简单的VB6.0的小工具,其中用到UTF-8格式转换,总结如下:View Code '所用到的API引入Private Declare Function WideCharToMultiByte Lib "kernel32" ( _ ByVal CodePage As Long, _ ByVal dwFlags As Long, _ ByVal lpWideCharStr As Long, _ ByVal cchWideChar As Long, _ ByRef lpMultiByteStr As Any, _ ... 阅读全文
posted @ 2012-01-10 18:02 刀叨 阅读(1088) 评论(0) 推荐(0)
摘要: 关于C# Timer类 在C#里关于定时器类就有3个C# Timer使用的方法1.定义在System.Windows.Forms里C# Timer使用的方法2.定义在System.Threading.Timer类里 "C# Timer使用的方法3.定义在System.Timers.Timer类里下面我们来具体看看这3种C# Timer用法的解释:◆System.Windows.Forms.Timer应用于WinForm中的,它是通过Windows消息机制实现的,类似于VB或Delphi中的Timer控件,内部使用API SetTimer实现的。它的主要缺点是计时不精确,而且必须有消息 阅读全文
posted @ 2012-01-10 15:52 刀叨 阅读(698) 评论(0) 推荐(0)
摘要: 一个简单的Timer计时器,设置到达时间隔时启动一次Timer(每次只执行一次),更加节省资源...1.首先新建一个控制台应用程序;2.在Program.cs里面添加如下代码:Program Code using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace Timer_TEST{ class Program { private System.Timers.Timer _timer; ... 阅读全文
posted @ 2012-01-10 15:46 刀叨 阅读(281) 评论(0) 推荐(0)