- 博客(12)
- 收藏
- 关注
原创 reperter 小技巧
1.根据 行号 绑定不同的 css2.隔行,换 cssclass=''3.任意复杂的表达式,你可以自己写函数,例如HTML codeText=''C# codeprotected string MyFunc(string type,string title){ return string.Format("我想在这里绑定{0}-{1}!",type,title);}4. //出现空行 前台: <%#GetChangeRow(Contai
2010-06-11 16:04:00 668
原创 .net 多文件上传,限制文件大小和格式
//前台代码(3个FileUpload,实际开发中使用js循环添加) 无标题页 //后台代码using System;using Syste
2009-10-30 14:44:00 2542 1
原创 Chartlet控件图形报表很漂亮,可惜
使用方便,图形效果漂亮的很,方法也简单。真真的想用,可惜图片右上有水印。。。。。。。完全不能用到项目中了。自己玩玩,方法又太简单,又不能使用在自己的项目中,真不知道这个控件的存在价值。囧
2009-10-28 17:28:00 795 6
转载 sql语句 截取时间 只显示 年,月,日的格式
摘自http://blog.sina.com.cn/zhm85SQL语句截取时间,只显示年月日(2004-09-12)select CONVERT(varchar, getdate(), 120 )‘getdate()’改为时间字段名‘createtime’再重命名新加列(Select Name AS UName from Users)例如 select c
2009-10-24 15:56:00 6282 2
原创 绘制 饼状图形
//后台 代码using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls
2009-10-22 08:54:00 638
原创 图表控件WebChart 饼形图
//前台代码 无标题页 //后台代码using System;using System.Data;using System.Configuration;u
2009-10-19 17:47:00 1710 1
原创 AspNetPager分页控件的使用
protected void AspNetPager1_PageChanged(object src, Wuqi.Webdiyer.PageChangedEventArgs e) { this.AspNetPager1.CurrentPageIndex = e.NewPageIndex; BindData(); StringBuil
2009-10-14 10:00:00 702
原创 .net JS调用之验证码的实现
//前台‘验证码’代码 //image.aspx 后台代码public partial class Image : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) {
2009-10-14 09:31:00 1603
原创 仿百度数字分页 .net三层结构
//仿百度数字分页 public static void BuildPages(int ToatalCountRecord, int PageItem, int CurrentPage, HtmlGenericControl PageInfo, string strWhere) { int Step = 5;//偏移量 int LeftNum = 0
2009-10-14 09:11:00 2432 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人