2007年10月17日

location详解

摘要: location 对象描述了与一个给定的 Window 对象关联的完整 URL location 对象的每个属性都描述了 URL 的不同特性 通常情况下, 一个 URL 会有下面的格式 协议//主机:端口/路径名称#哈希标识?搜索条件 (1)协议: URL 的起始部分, 直到包含到第一个冒号. (2)主机: 描述了主机和域名, 或者一个网络主机的 IP 地址. (3)端口: 描述了服务器用于通... 阅读全文

posted @ 2007-10-17 15:59 小乔的闺房 阅读(380) 评论(0) 推荐(0) 编辑

2007年10月15日

使用ASP.NET AJAX实现(图片)幻灯片效果

摘要: (1)html (2)aspx.cs using System; using System.Data; using System.Configuration; usin... 阅读全文

posted @ 2007-10-15 13:22 小乔的闺房 阅读(917) 评论(0) 推荐(0) 编辑

固定GridView列字符串长度,多于的用...代替

摘要: 阅读全文

posted @ 2007-10-15 13:03 小乔的闺房 阅读(285) 评论(0) 推荐(0) 编辑

2007年10月12日

读取Excel数据到GridView相关问题(待完善)

摘要: 参考文献 http://www.knowsky.com/345281.html (1)数据读取 Excel表格里的数据如下 A B C 1 a1 b1 c1 2 a2 b2 c2 3 a3 b3 c3 4 a4 b4 c4 5 a5 b5 c5 select * from [Sheet1$] 读取到的数据如下 a2 b2 c2 a3 b3 c3 a4 b4 c4 a5 b5 c5 select ... 阅读全文

posted @ 2007-10-12 10:57 小乔的闺房 阅读(449) 评论(0) 推荐(0) 编辑

2007年10月11日

说明nchar(10),char(10),nvarchar(10),varchar(10)

摘要: nchar(10)存10个英文,10个汉字,不自适应 char(10)存10个英文,5个汉字,不自适应 nvarchar(10)存10个英文,10个汉字,自适应 varchar(10)存10个英文,5个汉字,自适应 阅读全文

posted @ 2007-10-11 11:44 小乔的闺房 阅读(342) 评论(0) 推荐(0) 编辑

syscolumns

摘要: 表名 TestTable 表字段 A,B,bigint,binary,bit,char,datetime,decimal,float,image,int,money,nchar,ntext,numeric,nvarchar,real,smalldatetime,smallint,smallmoney,sql_variant,text,timestamp,tinyint,uniqueidentif... 阅读全文

posted @ 2007-10-11 11:02 小乔的闺房 阅读(509) 评论(0) 推荐(0) 编辑

2007年10月10日

获得数据库里所有表的名称

摘要: (1)先学习这个 SELECT name, id, xtype, uid, info, status, base_schema_ver, replinfo, parent_obj, crdate, ftcatid, schema_ver, stats_schema_ver, type, userstat, sysstat, indexdel, refdate, vers... 阅读全文

posted @ 2007-10-10 12:48 小乔的闺房 阅读(185) 评论(0) 推荐(0) 编辑

2007年10月9日

类[属性扩展],属性[属性扩展](待完善)

摘要: 1 类[属性扩展] (1)ToolboxData 指定一个属性(Property)或事件是否应显示在"属性"窗口中.默认为"true". (2)DefaultEvent 指定当从Visual Studio等工具中的工具箱拖动自定义控件时为它生成的默认标记. 2 属性[属性扩展] (1)Browsable 指定一个属性(Property)或事件是否应显示在"属性"窗口中.默认为"true". (2... 阅读全文

posted @ 2007-10-09 14:28 小乔的闺房 阅读(326) 评论(0) 推荐(0) 编辑

2007年10月5日

获得数据库表的列数

摘要: select count(1) from syscolumns where id = object_id('yourTableName'); 阅读全文

posted @ 2007-10-05 14:25 小乔的闺房 阅读(237) 评论(0) 推荐(0) 编辑

2007年9月29日

WebForm里弹出警告框之内的自定义类MessageBox

摘要: using System; namespace XXX { /// /// 显示消息提示对话框。 /// public class MessageBox { private MessageBox() { } public static void Show(Page myPage, stri... 阅读全文

posted @ 2007-09-29 14:51 小乔的闺房 阅读(350) 评论(0) 推荐(0) 编辑

导航