2007年3月28日

摘要: 工作太忙 一直忙杂事都没时间学习了.听说4月1号DZ发布.NET论坛.期待ING. 阅读全文

posted @ 2007-03-28 11:40 fgp3 阅读(268) 评论(0) 推荐(0)


2006年9月27日

摘要: 最近到换了份工作忙的晕头转向。.NET也很久没碰了。 阅读全文

posted @ 2006-09-27 07:00 fgp3 阅读(245) 评论(1) 推荐(0)


2006年7月20日

摘要: public partial class flyxnews_UserControl_imgchoose : System.Web.UI.UserControl{ PagedDataSource objPds = new PagedDataSource(); List<fn_titleimg> imgs = new List<fn_titleimg>(); public st... 阅读全文

posted @ 2006-07-20 17:40 fgp3 阅读(457) 评论(0) 推荐(0)

摘要: 有条件的对DataList中的特定控件进行操作DataList是用摸板来重复显示内容的容器控件,除了在前台定好要显示的内容之外,还可以在后台操作控件。先来看这样一个问题:看本站的留言本,这个留言本只有一个页面。在管理员没有登陆的时候,你看不到管理功能的选项,而当你登陆后,就可以使用管理功能。其实是通过下面的语句来实现的:<%ifsession("login")="ok"then%>de... 阅读全文

posted @ 2006-07-20 15:39 fgp3 阅读(780) 评论(1) 推荐(0)


2006年7月11日

摘要: select top 10 * from table where id not in( select top 10 id from table order by id desc) order by id descselect top 10 * from(select Top 20 * from table_A order by id desc)更新数据时维护一个连续编号字段select * fro... 阅读全文

posted @ 2006-07-11 13:24 fgp3 阅读(191) 评论(0) 推荐(0)

摘要: using System;namespace Theme.Services.Public{/// <summary>/// SqlstrAny 的摘要说明。/// </summary>public class ProcessRequest{public ProcessRequest(){//// TODO: 在此处添加构造函数逻辑//}#region SQL注入式攻击代码分... 阅读全文

posted @ 2006-07-11 09:28 fgp3 阅读(1053) 评论(2) 推荐(0)


2006年7月5日

摘要: uniqueidentifier是全局唯一标识符 (GUID)NEWID()返回类型为uniqueidentifierSQL SERVER联机帮助中的例子:declare @myid uniqueidentifierset @myid=newid()print 'Value of @myid is '+cast(@myid as varchar(255))每次运行以上程序返回不同的uniqueid... 阅读全文

posted @ 2006-07-05 08:23 fgp3 阅读(330) 评论(0) 推荐(0)


2006年6月28日

摘要: gridview中有两个模板列 一列是linkbutton 一列是celender日历.我的linkbutton 里面OnClick="lbnDailyCustomize_Click“ 。当程序执行到lbnDailyCustomize_Click里面的时候如何找到相同row的 摸板列的celender的日期的取值呢?传过来的sender就是点击的LinkButton控件,Parent是DataCo... 阅读全文

posted @ 2006-06-28 16:58 fgp3 阅读(931) 评论(1) 推荐(0)


2006年6月27日

摘要: protected void Page_Init(object sender, EventArgs e) { this.Imgpre.ImageUrl = "../images/title/0.gif"; string[] fileentries; fileentries = Directory.GetFiles(Server.MapPath("~/flyxnews/images/title"))... 阅读全文

posted @ 2006-06-27 14:41 fgp3 阅读(380) 评论(0) 推荐(0)

摘要: 尝试批量删除节点,开始这样写for i=0 to lovenodes.length-1 set lovenodess=lovenodes.item(i).childnodes Select Case lovenodess.item(11).text case "1" chkdel=0 case else chkdel=1 end select if chkdel=1 then '删除节点 lov... 阅读全文

posted @ 2006-06-27 14:39 fgp3 阅读(362) 评论(0) 推荐(0)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3