摘要:
<%@ page contentType="text/html; charset=GBK" language="java"import="java.awt.image.BufferedImage,java.awt.*,javax.imageio.*"%><% // 在內存中创建图像 int width = 600; int height = 250; BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); 阅读全文
摘要:
对于IE6background-color:blue;_background-color:red;如果IE7,IE6同时有问题以下2选一:background-color:blue;*background-color:red;background-color:blue;+background-color:red;如果只有IE7background-color:blue;*background-color:red;_background-color:blue;/*还原IE6*/对于IE8background-color:blue;background-color:red\9;/*用作于IE6,I 阅读全文
摘要:
<s:bean name="org.apache.struts2.util.Counter" id="counter"><s:param name="first" value="1" /><s:param name="last" value="10" /><s:iterator><s:property/></s:iterator></s:bean> 阅读全文
摘要:
<s:date name="createDate" format="MM-dd-yyyy"/> 阅读全文
摘要:
update bs_Products set [content]=replace(cast([content] as varchar(8000)),'招商区域','销售区域') 阅读全文
摘要:
using System.Runtime.InteropServices;using System.IO;using System.Text;class DriveReflection{ [StructLayout(LayoutKind.Sequential)] public class NetResource { public int dwScope; public int dwType; public int dwDisplayType; public int dwUsage; public string LocalName; public string RemoteName; publi 阅读全文
摘要:
string cmdtext = "net use u: \\\\192.168.0.44\\src \"" + user + "\" /user:" + pwd; Process MyProcess = new Process(); //设定程序名 MyProcess.StartInfo.FileName = "cmd.exe"; //关闭Shell的使用 MyProcess.StartInfo.UseShellExecute = false; //重定向标准输入 MyProcess.StartInfo.Redi 阅读全文
摘要:
function () { $("#select_id").change(function () { //..... 选中的值:$(this).val() });}); 阅读全文
摘要:
在不是js打开的页面上按window.close(), 会有提示框,很烦,现在可以不用了,没有提示框直接关闭窗口。试试下面代码:<object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object><input type="button" name="Button" value="关闭窗口" onClick="docume 阅读全文
摘要:
<input type="checkbox" name="c1" checked="checked" onclick="c2.checked=!this.checked"/><input type="checkbox" name="c2" onclick="c1.checked=!this.checked"/> 阅读全文