自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(25)
  • 收藏
  • 关注

转载 为CKEDITOR内容中图片加上 图片服务器路径

做网站的时候,前台和后台是分开的,用了CKEDITOR上传图片,但是发现内容带图片的时候,前台Web浏览的时候是一个红X,一看路径不对,上传的到数据库中的是相对的虚拟路径,例如:<img alt="" src="/uploadFile/images/Penguins.jpg" style="height:600px; width:800px" />,需要加上图片服务器、...

2014-11-23 21:58:00 370

转载 ASP.NET环境下集成CKEditor与CKEditor实现文件上传

1、从http://ckeditor.com网站上下载ckeditor_aspnet_3.6.4与ckfinder_aspnet_2.4;2、解压下载的文件ckeditor_aspnet_3.6.4.zip,得到解压下载的文件ckfinder_aspnet_2.4.zip,得到3、将ckeditor_aspnet_3.6.4\_Samples\bin文件夹...

2014-11-11 16:13:00 254

转载 WPF、WinForm(C#)多线程编程并更新界面(UI)(转载积累)

using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Linq;using System.Windows.Forms;using System.Threading;namespace doWorker{ public ...

2014-10-19 23:31:00 188

转载 SilverLight 中ListBox获取选中项

View Code private void TongZhiGG_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListBoxItem _selectedItem = (ListBoxItem)(TongZhiGG.ItemContainerGenerator.C...

2011-02-16 16:24:00 103

转载 GridView的美化 分页 直接添加 编辑 更新 删除

单击添加点击编辑单击选择单击删除 1 <asp:Panel ID="Panel1" runat="server" Width="898px" Height="370px" 2 ScrollBars="Both"> 3 <asp:GridView ID="GridView1" ru...

2010-11-14 23:31:00 152

转载 C# 结束进程

代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using Sy...

2010-11-13 21:45:00 127

转载 滚动的gridview

代码<html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title></title> <style type="text/css"> .blk_02 { margin-top: 0px; ...

2010-11-13 21:43:00 79

转载 c#制作图表(从数据库读取数据,制作柱状图,扇形图)

代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Data.SqlCli...

2010-11-13 21:39:00 2625

转载 C# RichTextBox的使用方法

RichTextBox.Find方法RichTextBox控件不仅允许输入和编辑文本,同时还提供了标准 TextBox 控件未具有的、更高级的指定格式的许多功能。语法:RichTextBox说明:RichTextBox 提供了一些属性,对于本控件文本的任何部分,用这些属性都可以指定格式。为了改变文本的格式,首先要选定它。只有选定的文本才能赋予字符和段落格式。使用这些属性,可把文本改为粗体...

2010-11-13 21:38:00 465

转载 两个JS无缝滚动的实例

<div align="center" id="demo" style="overflow:hidden;height:200px;width:600px;border:1px solid #000;"> <div id="demo1"> 标准之路——DIV+CSS教程,网而布局,web2.0,常用代码,水晶图标,幻灯图片 </di...

2010-11-13 21:30:00 158

转载 用JS实现的网页关键字高亮显示的方法

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled Doc...

2010-11-13 21:30:00 171

转载 点击隐藏页面左栏或右栏

<style type="text/css"><!--.navPoint {COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt}.STYLE1 {FONT-FAMILY: Webdings; FONT-SIZE: 9pt; cursor: hand;}--></style>...

2010-11-13 21:26:00 119

转载 年月日时分秒加星期即时显示的JS日期时间特效

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><met...

2010-11-13 21:26:00 208

转载 无缝滚动代码

<html><HEAD><TITLE>标准之路</TITLE><META content="text/html; charset=gb2312" http-equiv=Content-Type></HEAD><body><div id="demo" style="overflow:hidden;he...

2010-11-13 21:26:00 85

转载 杀死JS错误提示

<script language="JavaScript"><!-- Hidefunction killErrors() {return true;}window.onerror = killErrors;// --></script>当页面中的JS出错时,会在浏览器状态栏内提示,出错信息。但有些错误不会影响到页面运行,这时把错误屏蔽掉,是个不错的方法...

2010-11-13 21:25:00 118

转载 用JS自动缩小超出大小的图片

在文章的正文中,往往会出现一些超大的图片,把页面撑开变形,影响了美观。用这段JS代码就可解决这个问题,你可以把图片的最大值限定在一定范围内,当图片大小超出这个尺寸后,就会被自动缩小。<SCRIPT src="/js/ShowPic.js" type=text/javascript></SCRIPT><script language="JavaScrip...

2010-11-13 21:25:00 133

转载 比较实用的几个天气预报调用代码

1、265天气根据IP自动获得当地的天气情况代码:<iframe src="http://weather.265.com/weather.htm" width="168" height="54" frameborder="no" border="0" marginwidth="0&quoat; marginheight="0" scrolling="no">&...

2010-11-13 21:24:00 178

转载 复制本贴地址传给QQ/MSN好友的代码

<input name="" onclick='copyToClipBoard()' type="button" value=" 复制本页地址,发给您QQ/MSN上的好友 "><script language="javascript">function copyToClipBoard(){var clipBoardContent="";clipBoardC...

2010-11-13 21:24:00 152

转载 鼠标移过图片变清晰效果

<IMG onmouseover=nereidFade(this,100,3,5) style="FILTER: alpha(opacity=55)" onmouseout=nereidFade(this,50,3,5) alt=标准之路www.aa25.cn src="/uploadfile/200806/17/FB175546517.jpg" border=0><s...

2010-11-13 21:23:00 216

转载 实现简单的FAQ折叠效果

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>FAQ效果aa...

2010-11-13 21:23:00 298

转载 让层垂直居中于浏览器窗口

<style type="text/css"><!-- div {position:absolute;top:50%;left:50%;margin:-150px 0 0 -200px;width:400px;height:300px;border:1px solid #008800;}--></style><div>让层垂...

2010-11-13 21:21:00 73

转载 鼠标移动,背景变色

<style>.first {background:#666;}.gray {background:red;}</style><div class="first" onmouseover="this.className='gray'" onmouseout="this.className='first'">www.aa25.cn</div>...

2010-11-13 21:20:00 99

转载 精品JS代码

1. oncontextmenu="window.event.returnvalue=false" 将彻底屏蔽鼠标右键<table border oncontextmenu=return(false)><td>no</table> 可用于Table2. <body onselectstart="return false"> 取消选取...

2010-11-13 21:19:00 81

转载 datatable 删除行

(由于书上的代码全是用C#写的,转换为VB.NET实在麻烦,以后就不转换了,见谅)五、操纵dataset在DataSet中DataRow是其所有数据的基本存放位置,它主要是由一个值数组组成,代表DataTable单独一行。DataRow中主要包括一下几种信息:1、行中每一列的当前值,2、行中每一列的原始值,3、行状态,4、父行与子行间的链接初始化一个DataRow:Data...

2010-11-13 21:18:00 115

转载 GridView新增一行,更新所有行實現

protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { GridView1.ShowFooter = true; } protected void OK_Cl...

2010-11-13 21:16:00 178

空空如也

空空如也

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

TA关注的人

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