摘要: 1.在后台绑定下拉框再返回到前台protected StringBuilder sq = new StringBuilder();//为了在前台绑定 protected void Page_Load(object sender, EventArgs e) { if... 阅读全文
posted @ 2014-07-24 07:33 阳光代码 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 假设SQL Server 2008中有个数据库test,现在要将其改名为zhy步骤:(1) 分离数据库:打开management studio,找到test数据库-->右键-->任务-->分离(2) 改名:然后到数据库物理路径(例如C:/Program Files/Microsoft SQL Ser... 阅读全文
posted @ 2014-07-24 07:28 阳光代码 阅读(16529) 评论(0) 推荐(0) 编辑
摘要: 1.两个不同数据库对应字段相应操作//操作模版:insert into data2.table2(字段1,字段2,字段) select 字段j,字段k,字段m from data1.table1举例:insert into Hospitals.dbo.Deparments(DepartmentNam... 阅读全文
posted @ 2014-07-24 07:27 阳光代码 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1.以屏幕可用宽和高的百分比来定义弹出框的宽和高var trueWidth = $(top.window).width() * 0.9;var trueHeight = $(top.window).height() * 0.9;2.光标离开时验证是否数字//jsfunction CheckIsNan... 阅读全文
posted @ 2014-07-24 07:23 阳光代码 阅读(389) 评论(0) 推荐(0) 编辑
摘要: function procossWithSeletedData(func) { var rowData = $("#tbGrid").datagrid("getSelected"); if (rowData) { ... 阅读全文
posted @ 2014-07-24 07:11 阳光代码 阅读(692) 评论(0) 推荐(0) 编辑