• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
nicesoft
博客园    首页    新随笔    联系   管理    订阅  订阅
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)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3