首页 软件开发 代码片段 ( Page 84 )

代码片段 8064

#HTML
table+css与xhtmL+css实现同一登陆框(代码片段)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xh…

2015-12-11 535

#APS/Basic
显示文件夹的树形目录

' ' IndexScripts() ' ' ' Written by Keep Bertha Surfin Heavy Industries, ' a division of K…

2015-12-11 453

#Ruby
Rails 删除数据库关联记录(外键)

drop database Contact; create database Contact; use Contact; CREATE TABLE Employee ( id in…

2015-12-10 976

#Objective-C
手把手教你iOS的ARC

手把手教你ARC——iOS/Mac开发ARC入门和使用 Revolution of Objective-c 本文部分实例取自iOS 5 Toturail一书中关于ARC的教程和公开…

2015-12-10 977

#Objective-C
设置UITableViewCell的选中背景颜色和选中字体颜色的方法

//设置UITableViewCell的选中背景颜色的方法 UIView *view = [[UIView alloc]init]; view.backgroundColor=[U…

2015-12-10 865

#Objective-C
延迟事件执行事件

[self performSelector:@selector(show) withObject:nil afterDelay:5]; //show事件在触发5秒之后执行

2015-12-10 533

#SQL
sql语句操作

SQLSERVER-2008实现表的‘备份’相关语句 --实现表的重新命名 exec sp_rename '原表名' , '新表名' ; --实现只是复制表的结构 select *…

sql
2015-12-10 375

#Shell
shell shift 用法

#!/bin/sh while [ $# -gt 0 ] do echo $1 echo $# if [ ! -d $1 ] then echo "$1 not dir" fi s…

2015-12-10 283

#SQL
sql 多关键字搜索

if(count($newstr)==1){ //如果数组的元素个数为1个,则按单个条件进行查询 $sql = "select * from tb_info where title…

sql
2015-12-10 911

#Ruby
Ruby Tk 使用 Frame 组件

require 'tk' top=TkRoot.new{title "Shopping Details"} fname_label=TkLabel.new(top){ text "…

2015-12-10 941

#Ruby
工资税率算法

#税率算法kk #张总的年终奖为48万元,算出的应纳税额为118625元,最终税后收入为36.1375万元。 #李总的年终奖为48.0001万元,应纳税额为140625.3元,最终…

2015-12-09 1,000
1 82 83 84 85 86 672