JS操作表单对象的属性:<scripttype="text/javascript">
functiontestform01(){
//0
//varfrm=document.forms[0];
//1
//varfrm=document.forms["form01"];
//alert(frm.name);
//alert(frm.action);
//alert(frm.method);
//alert(frm.enctype);
//2
//varforms=docum..
分类:
Web程序 时间:
2014-12-09 02:00:54
阅读次数:
212
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Web.Mvc; 6 using Common; 7 using QianLiF....
分类:
其他好文 时间:
2014-12-08 22:59:52
阅读次数:
198
css1.css:
.s1{ /*类选择器*/
color:pink;
font-size:30px; /*font-weight 粗体等 font-style normal italic:斜体 oblique倾斜的字体*/
text-decoration:line-through;
}
.s2{
color:red;
font-size:25px;
font-style:it...
分类:
Web程序 时间:
2014-12-08 21:24:31
阅读次数:
179
错误情景:holder.comment.setText(mlist.get(position).getCommentCount());错在把TextView的setText(int resid) //跑到工程下去找一个对应的resource的id和setText(CharSequence text)...
分类:
移动开发 时间:
2014-12-08 21:18:15
阅读次数:
224
在项目的 Common/function.php 文件里( 项目结构如图 ) 添加函数:/*字符串截断函数+省略号*/function subtext($text, $length){ if(mb_strlen($text, 'utf8') > $length) return mb_s...
分类:
Web程序 时间:
2014-12-08 21:08:56
阅读次数:
305
共享锁(S锁)又称读锁,若事务T对数据对象A加上S锁,则事务T可以读A但不能修改A,其他事务只能再对A加S锁,而不能加X锁,直到T释放A上的S 锁。这保证了其他事务可以读A,但在T释放A上的S锁之前不能对A做任何修改。排他锁(X锁)又称写锁。若事务T对数据对象A加上X锁,事务T可以读A也可以修改A,...
分类:
其他好文 时间:
2014-12-08 21:02:58
阅读次数:
209
关于Cell的复用问题,上次已经说了一种,但似乎那种方法不是最好的,所以说,今天下午根据别人提示,想到了此方法。还是老样子,可能不是最好的,但是实现了功能,至少比上次的要好一些。
题目要求:定义固定数据源,然后让tableview的行上各自显示第几行,然后点击选中的时候,字体颜色会变为红色,取消选中的时候字体变为黑色。然后最后的时候要输出选中的结果
解题思路:首先实现table...
分类:
其他好文 时间:
2014-12-08 19:42:49
阅读次数:
161
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using Syste...
分类:
编程语言 时间:
2014-12-08 19:22:03
阅读次数:
916
小结和畅想 最近这几天,单位领导安排做个项目,怎么说呢。来单位差不多4个月了吧,学到的东西很多,也见识了很多之前学校都不曾接触过项目。尤其感觉是,在为人处事的方面进步很大,听到的,看到的,说过的等等,在这里迈上人生路上的第一个台阶,我感觉很值得! 然后再说说这个项目吧。 是一个关于档案管理的系...
分类:
其他好文 时间:
2014-12-08 19:12:12
阅读次数:
185
主程序using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Runtime.Serialization;using System.R...
分类:
其他好文 时间:
2014-12-08 17:24:54
阅读次数:
247