会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大牛博客
博客园
首页
联系
订阅
管理
2024年12月16日
广东早茶的悠闲时光
摘要: 广东早茶的悠闲时光
阅读全文
posted @ 2024-12-16 12:23 大牛博客
阅读(11)
评论(0)
推荐(0)
2013年11月6日
ASP.NET MVC4.x+EF5.x开发企业级项目之通用的PagedList<T>Mvc分页控件源程序
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2013-11-06 15:21 大牛博客
阅读(217)
评论(2)
推荐(2)
2010年8月17日
GridView数据绑定控件和ObjectDataSource数据源控件实现排序功能
摘要: <asp:GridView ID="gvMain" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="Black" GridLines="Vertical" DataSourceID="odsUsers" BackColor="White" BorderColor="#DEDFDE" BorderSty...
阅读全文
posted @ 2010-08-17 18:39 大牛博客
阅读(985)
评论(0)
推荐(0)
2009年8月8日
asp.net 常用字符串过滤方法
摘要: using System;using System.Text;using System.Text.RegularExpressions;namespace bjmti{/// <summary>/// include 的摘要说明。/// </summary>public class include{ public include() { // // TODO: 在此处添加构...
阅读全文
posted @ 2009-08-08 17:58 大牛博客
阅读(2254)
评论(0)
推荐(0)
2009年8月7日
非常实用的Asp.net常用的51个代码
摘要: 1.弹出对话框.点击转向指定页面Code: Response.Write("<script>window.alert('该会员没有提交申请,请重新提交!')</script>");Response.Write("<script>window.location ='http://www.msproject.cn/index.asp'</script>"...
阅读全文
posted @ 2009-08-07 16:51 大牛博客
阅读(766)
评论(1)
推荐(0)
JS 中面向对象的5钟写法
摘要: JS 中面向对象的5钟写法Java代码 //第1种写法 function Circle(r) { this.r = r; } Circle.PI = 3.14159; Circle.prototype.area = function() { return Circle.PI * this.r * this.r; } var c = new Circle(1.0); alert(c.area(...
阅读全文
posted @ 2009-08-07 16:34 大牛博客
阅读(537)
评论(0)
推荐(0)
2009年8月1日
GridView的RowCommand事件中取得行索引
摘要: 前台添加一模版列,里面添加一个Button<asp:TemplateFieldHeaderText="测试"><ItemTemplate><asp:ButtonID="Button1"CommandName="btn"runat="server"Style="position:relative"Text="Button"/></ItemTemplate&g...
阅读全文
posted @ 2009-08-01 16:41 大牛博客
阅读(557)
评论(0)
推荐(0)
2009年7月31日
.netframework3.5 中TimeZoneInfo 类的使用
摘要: .net famework3.5中新增加了一个关于时区的静态类,可以使得我们方便的操作与时区相关的信息下面的内容是摘自MSDN的信息,注意:这个类是Beta2中的类,至于Release后是否改变还不知道。由于电脑中没有安装英文正式版的MSDN,所以只能复制MSDN上的内容敬请谅解!最下面的代码在英文正式版上调试的时区是使用同一时间的地理区域。TimeZoneInfo 扩展了 TimeZone 类,...
阅读全文
posted @ 2009-07-31 16:22 大牛博客
阅读(1795)
评论(0)
推荐(0)
2009年7月21日
GridView,DataList,Repeater,DetailsView的遍历行代码
摘要: foreach (DataListItem dli in DataList1.Items) { stringid = DataList1.DataKeys[dli.ItemIndex].ToString(); Response.Write("<script>alert('" + id + "')</script>"); } foreach (DetailsViewRow ...
阅读全文
posted @ 2009-07-21 17:15 大牛博客
阅读(585)
评论(0)
推荐(0)
2009年7月16日
ASP.NET 2.0上传图片生成缩略图类
摘要: 共有4种方法(也叫做函数),原本只是生成缩略图,生成后很不清楚,不好!所以我加入了优化缩略图的代码。只加在第二种方法里了。谁用的话可以比较一下,比其他的方法效果好太多了。 using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System....
阅读全文
posted @ 2009-07-16 16:50 大牛博客
阅读(922)
评论(1)
推荐(1)
下一页
公告