• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
nicesoft
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2 3 4 5 6 7 8 下一页
2011年12月21日
java画柱形图
摘要: <%@ 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); 阅读全文
posted @ 2011-12-21 01:02 nicesoft 阅读(3914) 评论(0) 推荐(0)
2011年12月20日
CSS HACK最佳应用方式
摘要: 对于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 阅读全文
posted @ 2011-12-20 21:06 nicesoft 阅读(206) 评论(0) 推荐(0)
struts2 counter循环标签的使用 实现for循环
摘要: <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> 阅读全文
posted @ 2011-12-20 16:50 nicesoft 阅读(429) 评论(0) 推荐(0)
struts2格式化日期
摘要: <s:date name="createDate" format="MM-dd-yyyy"/> 阅读全文
posted @ 2011-12-20 16:09 nicesoft 阅读(135) 评论(0) 推荐(0)
替换某字段的部份内容
摘要: update bs_Products set [content]=replace(cast([content] as varchar(8000)),'招商区域','销售区域') 阅读全文
posted @ 2011-12-20 11:19 nicesoft 阅读(170) 评论(0) 推荐(0)
C#映射网路驱动器
摘要: 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 阅读全文
posted @ 2011-12-20 09:24 nicesoft 阅读(9238) 评论(2) 推荐(0)
C#执行cmd
摘要: 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 阅读全文
posted @ 2011-12-20 09:19 nicesoft 阅读(6014) 评论(0) 推荐(0)
2011年12月19日
jquery操作select
摘要: function () { $("#select_id").change(function () { //..... 选中的值:$(this).val() });}); 阅读全文
posted @ 2011-12-19 16:27 nicesoft 阅读(193) 评论(0) 推荐(0)
js关闭窗口无提示,不支持FF
摘要: 在不是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 阅读全文
posted @ 2011-12-19 11:19 nicesoft 阅读(647) 评论(0) 推荐(0)
checkbox互拆
摘要: <input type="checkbox" name="c1" checked="checked" onclick="c2.checked=!this.checked"/><input type="checkbox" name="c2" onclick="c1.checked=!this.checked"/> 阅读全文
posted @ 2011-12-19 11:06 nicesoft 阅读(167) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3