码迷,mamicode.com
首页 >  
搜索关键字:form data    ( 81791个结果)
[LeetCode]LRU Cache有个问题,求大神解答
题目:Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the v...
分类:其他好文   时间:2014-06-25 14:12:42    阅读次数:214
IE6—在链接click事件的响应函数中发送jsonp请求不生效
1 $("#link").click(function(){ 2 $.ajax({ 3 type: 'GET', 4 dataType: 'jsonp', 5 url: 'http://test.local.com/getdetail', 6 data:{id:1}, 7 s...
分类:Web程序   时间:2014-06-25 13:06:57    阅读次数:235
跨页面传值常用方法
1.QueryStringrequest.QueryString["ParaName"] //传递的“ParaName”值2.Form-Post控件传值3.Cookies传递实现单值Cookie的设置1).httpCookie ck_animal=new HttpCookie("animal");2...
分类:其他好文   时间:2014-06-25 11:27:11    阅读次数:255
effective c++ 条款3 use const whereever you can
1 const 传达的意思应该是这个变量是常量不能更改2 const 在 * 左边表示数据是const,在右边表示指针是const // char greeting[] = "hello"; char* p = greeting; //const *: const data //...
分类:编程语言   时间:2014-06-25 11:12:18    阅读次数:229
jQuery的ajax的form提交方法应用
1.如果不用ajax的form提交,就必须把表单的每一条数据进行获取,并提交给action进行处理。这样做比较麻烦,现在用了jQuery的easyui,使用封装好的ajax的form提交。脚本代码如下: //提交表单 function sysusersave(){ if($.formValidator.pageIsValid()){//校验表单输入信息是否合法 //使用jquery的aj...
分类:Web程序   时间:2014-06-25 10:36:01    阅读次数:920
HTML设置焦点
<body <formaction=""method="post" name="form1"> <inputtype="text"id="id"/> </form> </body> <script>functionmyfocus(){ document.getElementById(‘id‘).focus();}</script>
分类:Web程序   时间:2014-06-25 10:11:17    阅读次数:181
源码编译安装mysql
今天来尝试下源码编译安装mysql。这次我们要用到cmake工具,安装cmake。#yuminstallcmake#tar-xfmysql-5.5.37.tar.gz#cdmysql-5.5.37#groupadd-rmysql#useradd-gmysql-r-d/mydata/data/mysql#cmake.-DCMAKE_INSTALL_PREFIX=/usr/local/mysql\指定安装路径-DMYSQL_DATADIR=/myda..
分类:数据库   时间:2014-06-25 10:08:48    阅读次数:423
Some useful methods about linkedList.
/** * Method 1: Delete the input element x  * and meanwhile keep the length of array after deleted n * @param a  the array * @param n  the length of array after deleted. * @param x  the element t...
分类:其他好文   时间:2014-06-25 08:27:27    阅读次数:171
使用真机测试时,在eclipse中data文件夹打不开
使用RE文件管理器把data文件夹的权限更改为可读写,问题就解决了...
分类:系统相关   时间:2014-06-25 07:01:43    阅读次数:261
c#中高效的excel导入sqlserver的方法
将oledb读取的excel数据快速插入的sqlserver中,很多人通过循环来拼接sql,这样做不但容易出错而且效率低下,最好的办法是使用 bcp,也就是System.Data.SqlClient.SqlBulkCopy 类来实现。不但速度快,而且代码简单,下面测试代码导入一个6万多条数据的sheet,包括读取(全部读..
分类:数据库   时间:2014-06-25 06:33:27    阅读次数:347
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!