天道酬勤,厚德载物,自强不息,求真务实,动脑动手,孜孜以求

StudyDo

天道酬勤,厚德载物,自强不息,求真务实,动脑动手,孜孜以求

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年5月25日

摘要: select tableName=a.name,--表名 columnName=b.name,--列名 columnType=e.name,--列的数据类型 columnLength=b.max_length,--列的数据长度 --columnDefault=d.definition,--列的默认值 columnNote=c.value--列的注释 fr... 阅读全文
posted @ 2012-05-25 21:27 三木人 阅读(231) 评论(0) 推荐(0) 编辑

摘要: SELECT *, 表名 = case when a.colorder=1 then d.name else '' end, 表说明 = case when a.colorder=1 then isnull(f.value,'') else '' end, 字段序号 = a.colorder, 字段名 = ... 阅读全文
posted @ 2012-05-25 21:17 三木人 阅读(135) 评论(0) 推荐(0) 编辑

摘要: sys.types (Transact-SQL) SQL Server 2012 其他版本 此主题尚未评级-评价此主题 每个系统类型和用户定义类型都在表中对应一行。 ... 阅读全文
posted @ 2012-05-25 20:34 三木人 阅读(798) 评论(0) 推荐(0) 编辑

摘要: sys.default_constraints (Transact-SQL) SQL Server 2012 其他版本 此主题尚未评级-评价此主题 sys.objects.type = D." data-guid="c70d280d380... 阅读全文
posted @ 2012-05-25 20:32 三木人 阅读(462) 评论(0) 推荐(0) 编辑

摘要: sys.sysobjects (Transact-SQL) SQL Server 2012 其他版本 此主题尚未评级-评价此主题 在数据库中创建的每个对象(例如约束、默认值、日志、规则以及存储过程)都对应一行。 ... 阅读全文
posted @ 2012-05-25 19:45 三木人 阅读(1191) 评论(0) 推荐(0) 编辑

摘要: SQL Server 2000 1(共 5)对本文的评价是有帮助-评价此主题 Contains one row for each system-supplied and each user-defined data type. This table is stored in each database. These are the system-sup... 阅读全文
posted @ 2012-05-25 19:39 三木人 阅读(413) 评论(0) 推荐(0) 编辑

摘要: syscolumns SQL Server 2000 10(共 17)对本文的评价是有帮助-评价此主题 Contains one row for every column in every table and view, and a row for each parameter in a stored procedure. This table is in... 阅读全文
posted @ 2012-05-25 19:37 三木人 阅读(562) 评论(0) 推荐(0) 编辑

摘要: foreach (GridViewRow gvr in gvList.Rows) { // } 阅读全文
posted @ 2012-05-25 19:28 三木人 阅读(518) 评论(0) 推荐(0) 编辑

摘要: sys.extended_properties (Transact-SQL) SQL Server 2012 其他版本 此主题尚未评级-评价此主题 针对当前数据库中的每个扩展属性返回一行。 ... 阅读全文
posted @ 2012-05-25 19:19 三木人 阅读(5647) 评论(0) 推荐(1) 编辑

摘要: sys.indexes (Transact-SQL) SQL Server 2012 其他版本 此主题尚未评级-评价此主题 每个表格对象(例如,表、视图或表值函数)的索引或堆都包含一行。 ... 阅读全文
posted @ 2012-05-25 18:28 三木人 阅读(2134) 评论(0) 推荐(0) 编辑

摘要: 请查看是否放在!IsPostBack中,重新请求的话,肯定数值会丢失的。 阅读全文
posted @ 2012-05-25 18:23 三木人 阅读(150) 评论(0) 推荐(0) 编辑

摘要: 这个在TabIndex的时候可用。 short x = 3.0; // Error: no implicit conversion from doubleshort y = (short)3.0; // OK: explicit conversiontb.TabIndex = (short)(e.Row.DataItemIndex+1);//添加索引 阅读全文
posted @ 2012-05-25 18:02 三木人 阅读(409) 评论(0) 推荐(0) 编辑

摘要: #region 文件夹拷贝 /// <summary> /// 文件夹拷贝,没有考虑源目录子文件夹情况GetFileSystemEntries /// </summary> /// <param name="sourcePath"></param> /// <param name="destinationPa... 阅读全文
posted @ 2012-05-25 16:18 三木人 阅读(168) 评论(0) 推荐(0) 编辑