摘要: chain 用于Action链式处理dispatcher用于Web资源的集成,包括JSP的集成freemarker用于FreeMarker的集成httpheader用于控制特殊的HTTP行为redirect用于重定向到另外的URLredirectAction用于重定向到另外的Action的映射stream向浏览器返回一个InputStreamvelocityVelocity集成xsltxml/xsltplainText显示特定页面 阅读全文
posted @ 2013-09-22 20:23 iZiYue 阅读(204) 评论(0) 推荐(1) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Office.Interop;using Microsoft.Office.Core;using System.Data;using System.Configuration;using Microsof... 阅读全文
posted @ 2010-10-09 15:17 iZiYue 阅读(222) 评论(0) 推荐(0) 编辑
摘要: C#导入,导出Excel 数据新建一张数据表producttableweb服务器端代码[WebMethod] public DataSet ExportProduct() { try{ //数据库连接字符串 string con = @"Data Source=TALENT;Initial Catalog=MyDb;Integrated Security=True"; SqlConnection ... 阅读全文
posted @ 2010-10-08 20:09 iZiYue 阅读(219) 评论(0) 推荐(0) 编辑
摘要: var val = document.getElementById("txt1").value.replace(/[^\w\.\/]/ig, ''); 阅读全文
posted @ 2010-04-26 17:21 iZiYue 阅读(1387) 评论(0) 推荐(0) 编辑
摘要: js获取屏幕高度和宽度的几个方法 页可见区域宽: document.body.clientWidth网页可见区域高: document.body.clientHeight网页可见区域宽: document.body.offsetWidth (包括边线的宽)网页可见区域高: document.body.offsetHeight (包括边线的高)网页正文全文宽: document.body.scrol... 阅读全文
posted @ 2009-09-15 14:15 iZiYue 阅读(514) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 转全角 /// </summary> /// <param name="input">字符串</param> /// <returns>全角字符</returns> public static string ToSBC(this string input) { char[] c = inpu... 阅读全文
posted @ 2009-09-02 22:08 iZiYue 阅读(211) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"><struts&g... 阅读全文
posted @ 2009-08-25 23:06 iZiYue 阅读(165) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Web;using System.Collections;using System.Web.Services;using System.Web.Services.Protocols;using System.ComponentModel;namespace Remoting{ //2)在任意一个GetColle... 阅读全文
posted @ 2009-08-21 20:53 iZiYue 阅读(218) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Data.SqlClient;using System.Text;using System.Configuration;namespace SqlHelper{ public class DataHelper { public static string ConnectionStrings = Configur... 阅读全文
posted @ 2009-08-18 17:15 iZiYue 阅读(146) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Sigleton{ /// <summary> /// 单例类必须只有一个实例 /// 单例类必须自己创建自己的唯一实例 /// 单例类必须给所有其他对象提供这个唯一实例 /// </summary... 阅读全文
posted @ 2009-08-13 16:15 iZiYue 阅读(176) 评论(0) 推荐(0) 编辑
ChinaHDTV.ORG