摘要: <title>汉企首页</title><style type="text/css">*{ margin:0px; padding:0px;}#d{ height:200px; width:1500px; left:5%; top:0px; position:fixed; z-index:100;}  阅读全文
posted @ 2016-05-11 15:05 屈震 阅读(118) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2016-05-11 15:02 屈震 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1.文本输入 文本框<input type="text" name="" id="" value="" /> 密码框<input type="password" name="" id="" value="" /> 文本域<textarea name="" id=&quo 阅读全文
posted @ 2016-05-11 15:00 屈震 阅读(201) 评论(0) 推荐(0) 编辑
摘要: <table> </table> 制作表格 <br/> 换行 <tr></tr>一行 <td></td>一列 <b>加粗 <i>倾斜 <u>下划线 <h1>~<h6>标题 <p>段落 <div>制作div <span> <img>添加图像 <a>加入链接 bgcolor背景色 backgound 背 阅读全文
posted @ 2016-05-03 16:53 屈震 阅读(2695) 评论(0) 推荐(0) 编辑
摘要: Console.wrete(“请输入此次参加抽奖活动的人数:”); Int ren = convert toint32(console,readline()); String[]shuzu =new string [ren ]; For (int i = 0 ; i <ren ; i ++) { Console.write(请输入第+i+1个人的手机号) Shuzu[i ]=console.r... 阅读全文
posted @ 2016-04-25 15:37 屈震 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Foreach(对集合每个元素的引用In 集合) {} Int []a = new int [5]{1,2,3,4,5}; Foreach ( int b in a ) { //b就是a中的每个元素} 注意: foreach 只能对集合进行遍历。 Foreach 在操作集合的时候,只能读不能改。 F 阅读全文
posted @ 2016-04-25 09:50 屈震 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 二维数组: 一维数组·····豆角 二维数组·····表格 定义: 一维数组: 数据类型[]数组变量名=new 数据类型[数据长度]; 数据类型[]数组变量名=new 数据类型[数据长度]{1,2,3}; 二维数组: 数组类型[,]数组变量= new 数据类型[行数,列数]; Int[,]a = n 阅读全文
posted @ 2016-04-23 16:46 屈震 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 冒泡排序 Int [] shuzu = new int [10]; For ( int i= 0;i <10 ; i ++) { For (int a = i ; a<10-1;a ++) { If (shuzu [i ]>shuzu [a +1]) { Int zhong = ahuzu [i]; 阅读全文
posted @ 2016-04-23 16:45 屈震 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 字符串类型 String: 1.Trim () -去头尾的空格,中间的空格不能去。 2.Toupper()- 把字符串的字母全部变成大写。 3.Tolower() - 把字符串的字母全部变成小写。 4.startswith(“子串”);- 是否以子串开头。 5.endswith(“子串”);- 是否 阅读全文
posted @ 2016-04-23 16:45 屈震 阅读(253) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { int [,] a = new int [6,5]; for (int i = 0; i a [j -1 ,4]) { int xyw = a[j, 1]; a[j, ... 阅读全文
posted @ 2016-04-23 16:43 屈震 阅读(99) 评论(0) 推荐(0) 编辑