摘要: namespace buildingInfo { public partial class companyInfo_list : System.Web.UI.Page { //string connstr = ConfigurationManager.ConnectionStrings["connstr"].ToString(); protected void ... 阅读全文
posted @ 2009-04-03 10:55 刘强 cnblogs 阅读(387) 评论(0) 推荐(0)
摘要: 转自:http://hi.baidu.com/yman88/blog/item/73b962eebcdf78feb2fb9582.html重写是指重写基类的方法,在基类中的方法必须有修饰符virtual,而在子类的方法中必须指明override。 格式: 基类中: public virtual void myMethod() { } 子类中: public override void myMeth... 阅读全文
posted @ 2009-02-12 18:30 刘强 cnblogs 阅读(770) 评论(0) 推荐(0)
摘要: 当我们在搜索框输入关键字的时候,Google会自动列出相关关键字提示。用asp.net Ajax AutoCompleteExtender控件实现 运行环境行vs 2008 .net 3.5sp1 需单独安装ajax控件工具集 demo源码下载 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http:/... 阅读全文
posted @ 2009-01-08 15:59 刘强 cnblogs 阅读(2160) 评论(2) 推荐(0)
摘要: Asp.Net Ajax服务端控件 ScriptManager控件 管理信息的编组,负责在页面上使用的JavaScript库.一个页面上只能有一个ScriptManager控件 ScriptManagerProxy 主要用于使用master母版页中的内容页面上,与位于master页面上的ScriptManger一起工作 Timer 在指定的时间间隔执行客户端事件上,允许页面的指定部分在这些时间间... 阅读全文
posted @ 2009-01-06 00:29 刘强 cnblogs 阅读(401) 评论(0) 推荐(0)
摘要: 转自:http://dever.cnblogs.com/archive/2005/01/10/89602.aspx 问题提出:为了构建一个安全的web服务,需要对调用方进行身份验证,只让通过审核的用户调用web服务。 软件件环境:Web服务程序部署在分布于各地的工厂服务器,这些服务器位于内网之中,没有固定外网IP,且不能通过外网进行访问。调用这些Web服务的是一台连接至internet的WEB服务... 阅读全文
posted @ 2008-12-25 11:18 刘强 cnblogs 阅读(390) 评论(0) 推荐(0)
摘要: content为显示新闻内容的label控件 lbpage为显示分页页码的label控件 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> using System; using System.Collections; using Syste... 阅读全文
posted @ 2008-12-21 18:04 刘强 cnblogs 阅读(576) 评论(0) 推荐(0)
摘要: 一直以为被复制的表名必须存在.原涞是不能存在的...select * into aa from adminaa是要将复制的表名,不能存在,admin是已经存在的将要存在的表 类别:学习笔记 查看评论文章来源:http://hi.baidu.com/honghu3000/blog/item/84608bdf357ba01463279888.html 阅读全文
posted @ 2008-12-19 11:59 刘强 cnblogs 阅读(154) 评论(0) 推荐(0)
摘要: 好长时间没用这个啦,也许明天能用上.昨天发了好多简历,终于有一个面试电话.全球金融风暴...sql查询分析器里建立一个带有输出的存储过程if(exists(select * from sysobjects where name='sel' and xtype='p'))drop proc selgocreate proc sel@cou int outputasbeginselect ... 阅读全文
posted @ 2008-12-19 11:59 刘强 cnblogs 阅读(155) 评论(0) 推荐(0)
摘要: 当对一个表进行insert delete update时执行的操作.这个例子是当对info信息表添加时,将infoclass信息分类表的该分类的对应总信息条数加一操作if(Exists(select * from sysobjects where name='info_insert' and xtype='tr'))drop trigger info_insertgocreate ... 阅读全文
posted @ 2008-12-19 11:59 刘强 cnblogs 阅读(112) 评论(0) 推荐(0)
摘要: 存储过程检测用户名是否重户create proc checklogin@username nchar(20),@pwd nchar(20),@hasrow int outputasselect @hasrow=count(*) from users where username=@username and pwd=@pwdGO存储过程写入数据create proc adduser@us... 阅读全文
posted @ 2008-12-19 11:59 刘强 cnblogs 阅读(146) 评论(0) 推荐(0)