`
leiwuluan
  • 浏览: 694060 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
文章列表
  在web开发当前就会遇到一些数据有效性验证的相关代码编写。 一般的写法如:   public class User { public String username; public String password; public Integer age; }       public addUser(User user) { String username = user.getUsername(); Integer age = user.getAge(); String password = user.get ...
新浪多图片显示、写死我了!要一个上传多图片的、成果分享给你们吧。        

c#-发工资工具1.0

    博客分类:
  • c#
发送excel 带密码批量发送。
pom  添加    <!-- pinyin4j 汉字转化为拼音 -->   <dependency>    <groupId>net.sourceforge</groupId>    <artifactId>pinyin4j</artifactId> 
-------     http://www.zhangxinxu.com/jq/jcrop_zh/index.html

PHP-返射代理

<?php class Personal { public $name; public $age; function __construct() { echo " __construct.. \r\n"; } public function init() { echo "init \r\n"; } } interface Work { function doWork($personal); } class Student extends Personal implemen ...

C---第一个C程序

#include<stdio.h> int main(int argc, char *argv[]) { printf("Hello C"); return 0; }     编译源代码 gcc -o hello hello.c 运行程序 ./hello 输出 Hello C  
使用Angularjs  优点: 构建一个CRUD应用可能用到的全部内容包括:数据绑定、基本模板标识符、表单验证、路由、深度链接、组件重用、依赖注入。                         var AppController = function($scope) { /** 显示列表 **/ $scope.AppList = []; $scope.getAppPageList = function(page, size, noDigest) { DAO.getAppPageList(function(servic ...
  iOS学习之UINavigationController 1   iOS学习之UINavigationController 2   iOS学习之UINavigationController 3     iOS中隐藏UINavigationBar的方法     [self.navigationController setNavigationBarHidden:YES animated:YES];       从一个Controller跳转到另一个Controller时,一般有以下2种: 1、利用UINavigationController,调用pushView ...
hello - 使用Empty 模板创建。                                                                            
http get ---------------------------- NSString *url = @"http://wwww.baidu.com";     NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:url]];          [urlRequest setHTTPMethod:@"GET"];     NSData *returnData = [NSURLConnection sendSy ...
       //数据类型:         //整形(int、short int、long int、unsigned int、unsigned short、unsigned long)         NSLog(@"整形:");         NSLog(@"%lu",sizeof(int));//整形4个字节         NSLog(@"%lu",sizeof(short int));//短整形2         NSLog(@"%lu",sizeof(long int));//长整形8 ...
@ECHO OFF set a=%date:~0,10% set b=%time:~0,8%   if "%1" == "s" goto s if "%1" == "e" goto e exit   :s echo --------------------------------------------- >> E:\shangban.txt echo 登录时间:%a% %b% >> E:\shangban.txt exit   :e echo 退出时间:%a% ...
  <html> <head> <title>88888</title>   </head> <body> <script> window.onhashchange = function() { alert(window.location.hash); } </script> <a href="#home" >home</a> <a href="#free" >free</a> &l ...
javaapns 2.2提供了socket 通道连接。 调用完之后,就给关开了。 修改了jar stopConnection    
Global site tag (gtag.js) - Google Analytics