自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(48)
  • 资源 (3)
  • 问答 (8)
  • 收藏
  • 关注

原创 c#通过在线http路径直接保存文件到浏览器

          1,第一步先下载文件到本地项目路径          string URLAddress = @"https://sta.guazistatic.com/node_web/lnck.604fd454d04a588391ef47978f7cc15d.png";            string receivePath = Server.MapPath("/Content/...

2018-08-16 22:02:13 1676

原创 mvc-render-partial-view-to-string

 public virtual string RenderPartialViewToString(string viewName, object model)        {            //Original source code: http://craftycodeblog.com/2010/05/15/asp-net-mvc-render-partial-view-to-stri...

2018-05-16 15:25:02 347

原创 上传文件保存字节流,下载

public ActionResult ExcelUpLoad(HttpPostedFileBase file, string type)        {            string filePath = string.Empty;            var contentType = "";            if (file != null)       

2017-12-19 16:22:37 843

翻译 CSS锚点

CSS锚点使用有两种方法:    到达第一个锚点    到达第二个锚点    我是第一个锚点    我是第一个锚点 这样当我们点击A链接时, 对应的DOM节点就会滚动到窗口顶部。 但有时我们的需求并不是让它滚动到窗口顶部。 可能要他距离顶部有一定的距离。这时候可以由以下方法解决。  到达第一个锚点    到达第二个锚点

2017-11-30 13:28:09 978

翻译 JS 获取 本周、本月、本季度、本年、上月、上周、上季度、去年

JS 获取 本周、本月、本季度、本年、上周、上月、上季度、去年

2017-10-10 11:32:53 3853 1

原创 sql 循环插入20万条数据

DECLARE @number INT SET @number = 200000  WHILE @number > 0 BEGIN     INSERT dbo.Article       (         MsId,         Title,        TitleBak,        Summary,        SummaryImage

2014-12-26 11:23:41 1272

原创 sql 去重并排序问题

字段1 字段2 字段3 1 a A 2 a B 3 b V 4 b F 5 c O 6 d G类似上边的表,现在想去重查询出字段2所有值,然后按字段1排序,应该怎么写sql语句?结果出来应该是:abcd 

2014-12-22 16:31:48 6070 1

转载 sql server 2000、2008 删除日志,收缩LDF文件

sqlserver 2000、2008会保存所有的数据库操作过程,将指令保存在ldf文件中,如果误删除数据,想恢复数据的话,可以通过Lumigent Log Explorer For SQLServer 软件分析ldf文件,可以看到所有执行过的insert、update、delete数据,导出来再逆向执行即可,本人曾经用过一回,确实奏效。1、sql server 2000清理数据库日志US

2014-12-10 13:51:46 1822 1

转载 SQL Server判断临时表是否存在

1 判断数据库是否存在Sql代码 if exists (select * from sys.databases where name = ’数据库名’)    drop database [数据库名]  if exists (select * from sys.databases where name = ’数据库名’)  drop database [数据库名]2 判断表是否

2014-12-10 13:49:54 1417

原创 sql 查询

USE [FeiPiao_BookHotelRoom]GO/****** Object:  StoredProcedure [dbo].[FP_PR_OrderTicketList]    Script Date: 01/24/2014 11:26:38 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGO-- ===

2014-01-24 11:51:17 620

原创 SQL 更新

USE [FeiPiao_BookHotelRoom]GO/****** Object:  StoredProcedure [dbo].[FP_PR_FlightOrderTicket]    Script Date: 01/24/2014 11:38:32 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGO-- =

2014-01-24 11:48:00 496

转载 火狐浏览器里实现纯英文纯数字字符自动换行

asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfdfasdfasdfasdfasdfasdfas

2011-12-13 14:14:21 830

转载 淘宝网图片预览效果

<br /><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /><html xmlns="http://www.w3.org/1999/xhtml"><br /><head><br /><title>淘宝网图片预览效果</title><br /><meta http-equiv="content-type"

2010-07-15 08:30:00 1268 1

转载 Js图片浏览器

<br /><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /><html xmlns="http://www.w3.org/1999/xhtml"><br /> <head><br />  <title>Js图片浏览器</title><br /> </head><br /> <body><br /> <bu

2010-07-15 08:17:00 1711

转载 实现图片局部放大_放大镜效果

<br /><!DOCTYPEhtmlPUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /><html xmlns="http://www.w3.org/1999/xhtml"><br /><head><br /><meta http-equiv="Content-Type" content="text/html; charset=gb23

2010-07-14 23:18:00 7116

转载 js图片放大

<br /><!DOCTYPEHTMLPUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"><br /><HTML xmlns=" http://www.w3.org/1999/xhtml"><HEAD><TITLE>js图片放大</TITLE><br /><META http-equiv=Content-Type content="text/ht

2010-07-14 23:16:00 781

转载 ul 网站频道制作

<br /><html><br /><head><br /><title>ul 网站频道制作</title><br /><style type="text/css"><br />*{margin:0px;padding:0px;font-size:12px;}<br />#nav li{float:left; list-style:none;}<br />#nav li a{color:#000;text-decoration:none;display:block;width:100px;height:25

2010-07-14 23:13:00 357

转载 DIV+CSS 布局学习记录

DIV+CSS 布局学习记录

2010-07-14 23:10:00 555

转载 弹出窗口登录效果

<br /><html><br /><head><br />  <meta http-equiv="Content-Type"content="text/html; charset=gb2312"/><br />    <meta name="author" content="www.newxing.com" /><br />    <meta name="author email" content="[email protected]" /><br /><title>弹出窗口登录效果</title><br

2010-07-14 23:07:00 1666

转载 实现图片滑动切换展示效果

<br />//IE:<br />    window.frames["frameID"].document<br />//FIREFOX:<br /> windo.frames["frameID"].document<br /><br />//两者通用:<br />    document.getElementById("frameID").contentWindow.document<br /> <br /> <br /> <br /> <br /> <br /> <br /><HTML><H

2010-07-14 23:06:00 2087

转载 Javascript控制DIV上下移动(仿265移动特效)

<br /><!DOCTYPEhtmlPUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /><html xmlns="http://www.w3.org/1999/xhtml"><br /><head><br /><meta http-equiv="Content-Type" content="text/html; charset=gb23

2010-07-14 23:03:00 1599

转载 Javascript实现单击"更多"链接弹出菜单选项

<br /><html><br /><head><br /><script language="javascript"><br />var $ = function(i) {<br />    returndocument.getElementById(i)<br />};<br />function moreshow() {<br />    var e = $('morelist');<br />    if (e.style.display != 'block') {<br />        e.s

2010-07-14 23:02:00 689

转载 图片旋转展示

<br /><!DOCTYPEhtmlPUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /><html xmlns="http://www.w3.org/1999/xhtml"><br /><head><br /><meta http-equiv="Content-Type" content="text/html; charset=utf-

2010-07-14 23:01:00 455

转载 Javascript控制图片围成3D模型旋转展示

<br /><!DOCTYPEhtmlPUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /><html xmlns="http://www.w3.org/1999/xhtml"><br /><head><br /><meta http-equiv="Content-Type" content="text/html; charset=utf-

2010-07-14 22:58:00 1241

转载 PHP中9个必须知道的实用函数及功能应用

<br />数目的函数<br />你可能已经知道,PHP 允许定义可选参数的函数。但也有完全允许任意数目的函数参数的方法。以下是可选参数的例子:// function with 2 optional argumentsfunction foo($arg1 = '', $arg2 = ''){ echo"arg1: $arg1/n"; echo"arg2: $arg2/n"; }foo('hello', 'world');/** prints:

2010-07-14 22:57:00 331

转载 Javascript 实现DIV透明度渐变、移动放大等效果

<br /><!DOCTYPEHTMLPUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><br /><html><br /><head><br /><title>透明度渐变、位置移动函数</title><br /><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><br /><script><br />

2010-07-14 22:56:00 2384 1

转载 头像选择

头像选择代码头像01头像02头像03

2010-07-14 22:52:00 602 1

转载 CSS3圆角(个别的)

<br />#roundCorderC{<br />font-family: Arial;<br />border: 5px solid #dedede;<br />-moz-border-radius: 15px;<br />-webkit-border-radius: 15px;<br />padding: 15px 25px;<br />height: inherit;<br />width: 590px;<br />}<br /> <br /> <br />#roundCornerI{<br /> 

2010-07-14 22:51:00 367

转载 简单高效的JS 幻灯片图片播放特效

<br /><!DOCTYPEhtmlPUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /><html xmlns="http://www.w3.org/1999/xhtml"><br /><head><br /><meta http-equiv="Content-Type" content="text/html; charset=utf-

2010-07-14 22:49:00 2138

原创 LIKE

<br />愿大家春节快乐,身体健康,万事大吉.<a href="www.rontgens.com">人力资源服务</a>《程序员》杂志本期开始以用户体验为主题,一些读者可能会觉得奇怪。毕竟,我们的读者主要是技术人员,属于工程领域,而用户体验更常被归为艺术一类,一个理性,一个感性,似乎是两个世界。

2010-06-30 23:04:00 342

原创 新年快乐

愿大家春节快乐,身体健康,万事大吉。

2010-02-18 08:34:00 270

转载 滑动图片展示效果(js+css)

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">www.zishu.cn*{ margin:0; padding:0; list-style:none;}body{ font-family:Verdana; font-size:12px; line-height:1.8;

2010-02-01 19:08:00 856

转载 jq,TAB

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">jQuery Tabs By Await http://leotheme.cn/>* { margin:0 auto; padding:0; font-family:"宋体",Arial, Helvetica, sans-se

2010-01-21 13:39:00 618

转载 JQ换行换色

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">StripingTablehttp://leotheme.cn/wp-includes/js/jquery/jquery.js">>$(document).ready(function(){     $(".stripe li

2010-01-21 13:16:00 1553

转载 伸缩JQ

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">可伸缩块p,div{margin:0;padding:0; font-size: 12px;}.box {float: left; margin-left: 20px; dipaly:inline;}.title1,.titl

2010-01-21 13:15:00 705

转载 点击文字弹出一个DIV层窗口代码

            点击文字弹出一个DIV层窗口代码                 .black_overlay{             display: none;             position: absolute;             top: 0%;             left: 0%;             width: 100%;         

2010-01-12 16:26:00 1124

转载 CSS+JS实现点击文字弹出定时自动关闭的DIV层菜单

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">CSS+JS弹出DIV层var w = 0;var h = 0;var mout;function emotion(){var oMenu = document.getElementById("menu");if(w oM

2010-01-12 14:57:00 2712

转载 JS实现点击文本框弹出DIV层

new pagefunction crertdiv(_parent,_element,_id,_css){//创建层                var newObj = document.createElement(_element);                if(_id && _id!="")newObj.id=_id;                if(_css && _css!

2010-01-12 14:37:00 2666

原创 JS TIME

http://www.w3.org/1999/xhtml">      当前时间  http://www.hsgeco.com/misc/jquery.js">>  //function getCurrentDate() {  //  var userAgent = navigator.userAgent.toLowerCase();    // 因IE的年为2008和FF为108,判断  /

2010-01-04 14:52:00 907

转载 TAB标签效果

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">无标题文档body{ color: #000; font-family: "宋体", arial; font-size: 12px; background: #fff; text-align: center; margin

2010-01-04 10:04:00 522

EPPlus.dll

allows Excel files(xlsx;xlsm) to be created on the server.

2017-12-21

Bender.dll

mvc 使用 Xml and json de/serialization for .NET and Mono.

2017-12-21

MVC2.0 增,删,改,查询简单

mvc2.0 ,vs2010 超简单的实例,一看就懂的。我也在学习中

2014-11-04

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除