package com.android.settings;
import android.os.Bundle;
import android.app.Activity;
import android.os.Handler;
import android.os.Message;
import android.text.format.Time;
import android.util....
分类:
移动开发 时间:
2014-12-22 14:28:22
阅读次数:
136
可以采用像web表单验证的方式,利用textbox的TextChanged事件,每当textbox内容变化时,调用正则表达式的方法验证,用一个label在text后面提示输入错误,具体代码如下:private void textBox1_TextChanged(object sender, Even...
IE6/7并不支持CSS3的属性,IE8也不能很好的支持CSS3。如何让IE 6/7/8支持border-radius (rounded),box-shadow ( shadow),text-shadow等这些属性呢?这里介绍一个通过htc脚本实现这些属性的方法。首先下载ie-css3.htc脚本,...
分类:
Web程序 时间:
2014-12-22 14:22:07
阅读次数:
298
直接网际消息封装(Direct Internet Message Encapsulation,即DIME)格式提供了一种简单而又标准的机制,这个机制可以把多文本(multiple text)和二进制数据记录组合到一个单一的二进制流中。记录可以以一种高效解析且易于实现的独立编码方式保存。你可以在这儿找...
分类:
其他好文 时间:
2014-12-22 12:50:46
阅读次数:
244
//WebView里显示加载一段带日语的HTML时,使用webview.loadData(str,"text/html","utf-8");//出现乱码,加上设置webview.getsettings().setdefaultEncode("utf-8")//都没有效果。解决方案://采用loadD...
分类:
Web程序 时间:
2014-12-22 12:46:25
阅读次数:
142
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Wind...
分类:
数据库 时间:
2014-12-22 12:42:37
阅读次数:
253
select distinct name from syscomments a,sysobjects b where a.id=b.id and b.xtype='p' --and text like '%my_sp%'
分类:
数据库 时间:
2014-12-22 12:27:59
阅读次数:
180
highcharts 图形报表工具 最近公司开发需要用到报表 在网上查询了api 研究研究 更多请看:http://www.hcharts.cn/api/index.php#yAxis.title.text
无标题文档
<!--
...
分类:
其他好文 时间:
2014-12-22 11:11:51
阅读次数:
177
这篇是讲 workthread 模拟向网络访问数据,获得数据后,返回 message 发送给 mainthread ,并修改 textview 的 text。
1、layout:
<TextView
android:id="@+id/textViewId"
android:layout_width="match_parent"
android:...
分类:
移动开发 时间:
2014-12-22 11:09:28
阅读次数:
170
1、用正规式using System.Text.RegularExpressions;string pattern = @"^\d+(\.\d)?$";if(Text1.Text.Trim()!=){if(!Regex.IsMatch(Text1.Text.Trim(),pattern)){Text...