2009年12月4日

导出Sql Server数据字典的语句(收藏)

摘要: 1 导表的: SELECT TOP (100) PERCENT CASE WHEN a.colorder = 1 THEN d .name ELSE '' END AS 表名, CASE WHEN a.colorder = 1 THEN isnull(f.value, '') ELSE '' END AS 表说明, a.colorder AS 字段序号, a.name AS 字段名, CASE WHEN COLUMNPROPERTY(a.id, a.name, 'IsIdentity') = 1 THEN '√' 阅读全文

posted @ 2009-12-04 16:28 白亚伟 阅读(350) 评论(0) 推荐(0) 编辑

2009年11月30日

安装IE8不能调试VS2003的解决办法

摘要: 1. 将http://localhost/加入“本地Intranet中”2. 在IE->工具->Internet选项->安全,在本地Intranet和可信站点中,点自定义级别,选择“用户验证”下的“自动使用当前用户名和密码”。3. 若不行,配合使用以下方法:清除:C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\下所有内容清除:C:\Documents and Settings\用户名\VSWebCache\机器名\下所有内容运行:C:\WINDOWS\Microsoft.NET\Fram 阅读全文

posted @ 2009-11-30 18:57 白亚伟 阅读(754) 评论(2) 推荐(0) 编辑

2009年2月19日

javascript驗證若干DropDownList是否有選择

摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//驗證若干DropDownList是否有選//用法:varlistIds=newArray("ddlYear","txtMonth");//varflag=DropDownExistsEmpty(listIds);functionDropDownExistsEmpty(listIds){for(vari=0;i<listIds.length 阅读全文

posted @ 2009-02-19 09:51 白亚伟 阅读(329) 评论(0) 推荐(0) 编辑

javascript验证若干个TextBox是否为空

摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//驗證若干TextBox是否為空//用法:vartextBoxIds=newArray("txtUserCode","txtPwd");//varflag=TextBoxIsEmpty(textBoxIds);functionTextBoxIsEmpty(textBoxIds){for(vari=0;i<textBoxIds.length; 阅读全文

posted @ 2009-02-19 09:44 白亚伟 阅读(746) 评论(0) 推荐(0) 编辑

2008年11月26日

求助:VS2008调试时不能编辑.aspx.cs文件

摘要: VS2008调试时不能编辑 阅读全文

posted @ 2008-11-26 12:08 白亚伟 阅读(1666) 评论(2) 推荐(0) 编辑

2008年8月21日

取得表的字段列表

摘要: 將某張表的字段信息(ColumnName、TypeName、Length、Create_Date、Modify_Date...)顯示出來。 阅读全文

posted @ 2008-08-21 10:24 白亚伟 阅读(239) 评论(0) 推荐(0) 编辑

端阳歌--临洮端午习俗

摘要: Normal 0 0 2 false false false MicrosoftInternetExplorer4 单阳到起地早,赶早露把目明; 折柳条擦门头,撮花线及手脚; 摘草艾管四季;长虫躲... 阅读全文

posted @ 2008-08-21 10:22 白亚伟 阅读(221) 评论(0) 推荐(0) 编辑

2008年6月12日

Javascript得到TreeView被选中的所有节点ID

摘要: functionGetCheckedNode(){vartreeView=document.getElementById('<%=treeViewSource.ClientID%>');varchildren=treeView.getChildren();varcheckedIds=GetCheckedNodeIds(children[0]);returncheckedIds.substr(1,checkedIds.length);}functionGetCheckedNodeIds(node){varids='';if(node.getAttrib 阅读全文

posted @ 2008-06-12 09:08 白亚伟 阅读(2294) 评论(4) 推荐(0) 编辑

2008年5月31日

Microsfot.Web.UI.WebControls.TreeView JavaScript控制方法

摘要: 被选择的节点的索引:tree.selectedNodeIndex 被单击的节点的索引:tree.clickedNodeIndex 获取一个节点:tree.getTreeNode(nodeIndex) 在根节点下增加一个子节点: var tree = document.all['TreeView1']; var node = tree.createTreeNode() ; tree.add(node); node.setAttribute( "text", "aaaa"); 在当前节点下增加一个子节点: var tree = documen 阅读全文

posted @ 2008-05-31 15:26 白亚伟 阅读(666) 评论(0) 推荐(0) 编辑

2007年11月12日

从请假日期列表中取得请假起止日期

摘要: CREATE TABLE [dbo].[EmpLeave]([EmpNo] [nvarchar](50) NULL,[LeaveDate] [datetime] NULL) ON [PRIMARY]INSERT INTO EmpLeave VALUES('F01','2007-10-2 00:00')INSERT INTO EmpLeave VALUES('F01','2007-10-3 00:00')INSERT INTO EmpLeave VALUES('F04','2007-10-8 00:00 阅读全文

posted @ 2007-11-12 23:38 白亚伟 阅读(808) 评论(0) 推荐(0) 编辑

导航