原创控件代码共享--日期选择控件
思路:实现日期年月日的选择
1、可以设定年的起止年份
2、排除不正确日期选择的可能
3、使用javascript实现控制
4、使用Text属性方便获取设置日期值
=================================
代码如下:
using System;
using System.Collections;
using System...
                            
                            
                                分类:
其他好文   时间:
2014-05-12 15:21:22   
                                阅读次数:
246
                             
                    
                        
                            
                            
                                CSS3的文字阴影—text-shadow text-shadow text-shadow 
text-shadow text-shadow text-shadow text-shadow text-shadow 
text-shadow查看更多:http...
                            
                            
                                分类:
Web程序   时间:
2014-05-12 14:19:47   
                                阅读次数:
515
                             
                    
                        
                            
                            
                                其实,在这个文章之前,网上都有好多教程了。不知道是不是因为复制黏贴的传播太多,导致有些字符串的丢失,导致编译失败,so库文件无法载入,从而不能输入中文。折腾了许久之后,终于搞定了。记录下来,方便自己下次重装系统的时候用到。按照这个教程装好ST之后,按下面的命令步骤来操作即可使用中文输入。1.下载所需...
                            
                            
                                分类:
其他好文   时间:
2014-05-12 13:33:33   
                                阅读次数:
356
                             
                    
                        
                            
                            
                                using System;using 
System.Collections.Generic;using System.Linq;using System.Text;namespace 
ConsoleApplication1{ class Program { static void Main(stri...
                            
                            
                                分类:
其他好文   时间:
2014-05-12 11:46:04   
                                阅读次数:
215
                             
                    
                        
                            
                            
                                想要安装一个sublime Text 
Editor,发现需要root权限,而且sudo用户的密码输进去没有作用!@ubuntu 14.04 LTS这个时候怎么办呢?打开终端,在终端中使用sudo 
software-center sublime-text_build-3059_i386.deb才可以安...
                            
                            
                                分类:
其他好文   时间:
2014-05-12 11:27:33   
                                阅读次数:
356
                             
                    
                        
                            
                            
                                由于在客户端用js是无法直接获取到ASP.NET的控件CheckboxList的值的,所以采用以下解解方案:服务器端代码: 
public void LoadAllTags() { var tagList = tagBO.GetAllTags(); ...
                            
                            
                                分类:
编程语言   时间:
2014-05-12 05:11:06   
                                阅读次数:
376
                             
                    
                        
                            
                            
                                function loadScript(url, callback){
var script = document.createElement ("script")
script.type = "text/javascript";
if (script.readyState){ //IE
script.onreadystatechange = function(){
if (script.read...
                            
                            
                                分类:
编程语言   时间:
2014-05-11 15:07:11   
                                阅读次数:
316
                             
                    
                        
                            
                            
                                服务端1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Text;4usingSystem.Net.Sockets;5usingSystem.Net;6usingSystem.Threading;78namespaceControl...
                            
                            
                                分类:
其他好文   时间:
2014-05-11 04:28:28   
                                阅读次数:
329
                             
                    
                        
                            
                            
                                android:id 为控件指定相应的IDandroid:text 
指定控件的文本,置尽量使用strings.xmlandroid:grivity 指定控件的基本位置 ,比如举重,居右,android:padding 
指定控件的内边距,控件当中的内容android:singleLine 如果设置为真...
                            
                            
                                分类:
其他好文   时间:
2014-05-11 00:16:12   
                                阅读次数:
385
                             
                    
                        
                            
                            
                                using System;using System.Data;using 
System.Text;using System.Collections.Generic;using System.Reflection;using 
System.Data.Common;using System.Collec...
                            
                            
                                分类:
Web程序   时间:
2014-05-10 07:27:45   
                                阅读次数:
474