- 博客(23)
- 资源 (9)
- 收藏
- 关注
原创 禁用笔记本电脑触控板方法
笔记本电脑的触控板感应太过灵敏,在键盘输入的时候总走行,如果也受此困扰的同学可以尝试以下方法解决:桌面右键计算机---->点击“管理”,打开“计算机管理”窗口---->选择“设备管理器”----->选择“鼠标和其他指针设备”------>选择触摸板(ps/2 兼容鼠标)----->右键选择“更新驱动程序软件..."-------选择"浏览计算机以查找驱动程序软件”------在打开窗口中选择“
2013-09-29 10:35:17
1093
翻译 log4net 文本文件txt配置
1. 首先你应该下载log4net.dll并引入到你的项目References中.2. 需要修改你的global.asa.cs. 配置application对象启动的时候加载log4net配置. 这一步是不可以缺少的. protected void Application_Start(Object sender, EventArgs e) { log4ne
2013-06-08 23:23:12
1000
原创 删除CheckBox所选项
function GetDeleteItem() { var str=""; $("[@name=item][checked]").each(function() { str+=$(this).val()+";"; }); document
2009-11-02 08:07:00
868
原创 Email
public static string EmailAdress = "epr-admin@cei-sz.cn";public static string EmailPassWord = "91020";public static string EmailHost = "172.17.1.3";using System.Net;using System.Net.Mail;public st
2009-10-23 11:17:00
782
原创 JS Alert 新层 及 C# 后台调用方法
// JScript 文件/*FileName:AlertMsg.js*/ function AlertMsg(title,content,frame,msgw,msgh){ var msgw,msgh,msgbg,msgcolor,bordercolor,titlecolor,titlebg; //获取所有select对象,暂时隐藏 var s=document.getElement
2009-10-21 23:01:00
1249
原创 AjaxControlToolkit ModalPopup 实现模态窗口
Html代码: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml" > Untitled Page .aaa { background-color:#ccc; }
2009-10-21 00:51:00
899
原创 C# 调用 SAP RFC 方法
添加SAP安装程序的四个dll文件引用:Interop.SAPBAPIControlLib.dllInterop.SAPFunctionsOCX.dllInterop.SAPLogonCtrl.dllInterop.SAPTableFactoryCtrl.dll 调用方法体:private void GetMateriel() { string numbe
2009-10-20 15:55:00
8412
原创 ASP.NET 实现多版本語言
public class PageBase:System.Web.UI.Page{ public PageBase() { // // TODO: Add constructor logic here // } protected override void InitializeCulture() { //得到當前語言 string currentCu
2009-10-20 15:54:00
598
原创 Table 中添加用户自定义控件
C# 调用代码: protected void Page_Load(object sender, EventArgs e) { int i = 0; int rowNum = 5; DBcom mycom = new DBcom(); SqlDataReader sdr1 = mycom.GetProSubKi
2009-10-13 13:19:00
733
原创 C# 弹出文件下载对话框
string info = e.CommandArgument.ToString(); string[] items = info.Split(!); string fileName = items[0].ToString() + "." + items[1].ToString(); string filePath = Serv
2009-10-12 17:01:00
4343
原创 发送邮件功能
using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.We
2009-10-12 00:56:00
673
原创 上传图片及生成小图片功能源码
if (this.FileUpload1.HasFile) { if (this.ddlAlbumList.Items.Count != 0) { int albumId = int.Parse(this.ddlAlbumList.SelectedValue); string fi
2009-10-12 00:45:00
521
原创 全屏显示的主页代码
http://www.w3.org/1999/xhtml"> Full Screen //fullscreen function fullscreen(){ var leftWidth=200; var iWidth = document.body.clientWidth;
2009-10-10 12:01:00
560
原创 功能菜单的实现代码
public void ParentNode() //创建父节点 { DataSet ds = GetFunCategrory(200); if (ds.Tables[0].Rows.Count != 0) { for (int i = 0; i { TreeNode
2009-10-10 11:58:00
628
原创 一个简的存储过程
create procedure Msm@Mobile varchar(20), --上行手机号@OperationId int,--业务id@OperationMarkId int,--业务内活动id@Message Nvarchar(500), --信息内容@stime dateTime --收到时间ASdeclare @activityType intdeclare @type intdec
2009-10-09 19:57:00
407
原创 HTML ENCODE / HEML DECODE (常用数据库存取字符串处理)
public static string Encode(string str) { str = str.Replace("&", "&"); str = str.Replace("", ""); str = str.Replace("/"", """); str = str
2009-10-09 12:00:00
770
原创 ASP.NET页面执行模型和服务器控件生存周期模型
http://hi.baidu.com/%E8%AA%BC%C7%D3%DA%D0%C4/blog/item/afb2a2246fac6c2ed507423b.html
2009-10-09 00:22:00
431
原创 Repeater分页
using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.We
2009-09-30 13:25:00
613
原创 模态窗口 打开及取得相应的值
主窗口js代码: function addinfos(txtbox) { if (window.showModalDialog!=null) { var smd= window.showModalDialog("AddInfos.aspx","","dialogWidth:400px;
2009-09-25 00:28:00
666
原创 权限管理模型(数据库建模)
create table FunCategory( CategoryId int identity(1,1) primary key not null, CategoryName varchar(30), Sort int default(0), CategoryImg varchar(50))gocreate table Fun( FunId int identity(1000,1) pri
2009-09-24 13:29:00
1150
原创 用CSS实现ul标签中图片与文字底边对齐及自适应高度
在做页面布局的时候,有时候会遇到在同一个 ul 下 li 标签下的图片不能垂直对齐的问题,使页面不能很表现。遇到此类问题可以使用img标签下margin-bottom样式处理。代码如下: Html: 文字一 文字二 文字三 文字四 Style:
2009-08-11 17:47:00
7770
2
ZoomIt 一款很好用的教学演示工具
2012-11-30
Validators 及其使用方法
2008-08-29
Validators.dll 及使用方法
2008-08-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人