会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
篱笆部落
Be the change you want to see in the world. It does not matter how slowly I go as long as I do not stop.
博客园
管理
上一页
1
···
4
5
6
7
8
9
10
11
下一页
2011年4月20日
Take Life Easy
摘要: I think a sense of humour can help you deal with life's difficulties. As they say, 'laugh and the world laughs with you;cry, and you cry alone.' Here...
阅读全文
posted @ 2011-04-20 09:43 eva.xiao
阅读(530)
评论(0)
推荐(1)
2011年4月15日
.Net保存页面滚动条状态
摘要: 在ASP.Net页面中,每次回发都会造成页面回到顶部,那么怎样让它保持刷新页面前的位置上,使得页面提交后还在原来的位位置。 其实Asp.net中page对象就有一个属性可以使页面提交或者更新数据后,返回页面原来位置,包括滚动条位置都可以保存。 在html原页面顶部将MaintainScrollP...
阅读全文
posted @ 2011-04-15 16:49 eva.xiao
阅读(790)
评论(0)
推荐(0)
2011年4月8日
数据结构1——算法
摘要: 1. 判断是否对称数组View Code 1 int[] ints = { 1, 2, 3, 4, 4, 3, 2, 1 }; 2 3 bool flag =false; 4 for (int i =0; i < ints.Length; i++) 5 { 6 if (i...
阅读全文
posted @ 2011-04-08 10:07 eva.xiao
阅读(207)
评论(0)
推荐(0)
2011年4月7日
重启IIS
摘要: windows中的Access数据库的网站程序,在访问量大时IIS会经常死掉。下面是如何重启IIS的方法,可以直接重启,也可以在命令行中重启IIS。1、界面操作 桌面右键“我的电脑”-->“管理”-->“服务和应用程序”-->“服务”找到“IIS admin service”右键点击“重新启动”弹...
阅读全文
posted @ 2011-04-07 10:48 eva.xiao
阅读(432)
评论(0)
推荐(0)
2011年3月31日
runtime error
摘要: 如下图,系统在本机运行正常,打包后报出下面的错误。从网上查了些帖子,却没有真正解决。页面有一个文本框显示,<br />这样子的信息,请教高人,才知是页面验证的原因。在页面的最上面设置一个属性即可。<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"%>至于报错信息中指出的,WebConfig <customerError mode=" "
阅读全文
posted @ 2011-03-31 17:40 eva.xiao
阅读(469)
评论(0)
推荐(0)
2011年3月25日
GridView排序——微软提供Sort
摘要: 在GridView中,根据其中的某列进行排序。1. 页面:AllowSorting=“True” onsorting=“ ”,SortExpression="列名"<asp:GridView ID="grdResult" runat="server" CssClass="gridviewstyle" AutoGenerateColumns="False" AllowSorting="True" onsorting="grdResult_Sorting"
阅读全文
posted @ 2011-03-25 16:51 eva.xiao
阅读(2593)
评论(0)
推荐(0)
2011年3月17日
多文件上传 js实现
摘要: 可以动态添加输入表单,上传的文件数量没有限制。Aspx代码:View Code 1 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="MultipleFileUpload._Default" %>2 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www
阅读全文
posted @ 2011-03-17 10:07 eva.xiao
阅读(8910)
评论(1)
推荐(0)
2011年2月23日
你会在C#的类库中添加web service引用吗? <转>
摘要: 转载自:http://www.tzwhx.com/newOperate/html/1/11/117/20878.html 本文并不是什么高深的文章,只是VS2008应用中的一小部分,但小部分你不一定会,要不你试试: 本人对于分布式开发应用的并不多,这次正好有一个项目要应用web service,我的开发环境是vs2008,之所以没有选择现在热门的WCF,本人有如下原因: 1:负责开发Web Service的小组对于vs2008应用不多,更不能奢望令人垂涎的WCF。 2:项目开发时间有限,根本不许你去拿项目做实验。 3:项目改动不大,web service足够对付需求。 由于我们的项目是从1..
阅读全文
posted @ 2011-02-23 13:21 eva.xiao
阅读(447)
评论(0)
推荐(0)
2011年1月20日
SQL Server循环执行插入10000条数据
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1 --循环执行插入10000条数据2 declare @vendorID int3 declare @name nvarchar(100)4 declare @address nvarchar(255)5 declare @phone nvarchar(255)6 declare @vendorName nvarchar(100)7 declare @vendorAddress nvarc
阅读全文
posted @ 2011-01-20 14:06 eva.xiao
阅读(3811)
评论(1)
推荐(0)
将数据库SQL Server中的数据导出到Excel表中(By ADO)——节省时间
摘要: 数据库的设计:在文件中存在Excel表Vendors。 在页面层中,有一个文件浏览控件,id=“inputFile”,插入到数据库中时候要用到。beginTime和endTime分别记录开始和结束的时间,CostTime计算时间差。以方便综合考量。下面是导出到Excel的代码:代码Excel插入到SQLServer的代码:代码另外,作为一个小知识点,计算时间差:代码Dataset方法的Excel导入导出,参考:ASP.NET Excel导入导出SQL Server整理
阅读全文
posted @ 2011-01-20 14:02 eva.xiao
阅读(1608)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
下一页