1 /** 2 * 测试HttpClient2种请求网络方式的Activity 3 *
get和post 4 * 5 */ 6 public class HttpClientActivity extends Activity { 7 private
HttpParam...
分类:
其他好文 时间:
2014-06-29 12:56:36
阅读次数:
217
按照正常的写法,总是出现404错误,研究了很久,在这里找到了解决方案:http://buxuxiao.com/article/using-jquery-to-post-frombody-parameters-to-web-api现在总结一下,单个参数的情况下:1、后台参数正确的写法如下:
...
From
:http://blog.csdn.net/hotdigger/article/details/6456240一般我们都用$_POST或$_REQUEST两个预定义变量来接收POST提交的数据。但如果提交的数据没有变量名,而是直接的字符串,则需要使用其他的方式来接收。方法一:
使用全局变量...
分类:
Web程序 时间:
2014-06-07 11:29:34
阅读次数:
221
string connStr = "Data Source=.;Initial
Catalog=MySchoolMoreData;Integrated Security=True"; try { usi...
分类:
Web程序 时间:
2014-06-05 15:26:20
阅读次数:
260
As far as I know, SharedPreferences allow us to
store some simple data in a named area in our phone. Introduction to the uses of
SharedPreferences is ...
分类:
移动开发 时间:
2014-06-05 14:07:21
阅读次数:
390
大家都知道Core
data本身并不是一个并发安全的架构;不过针对多线程访问带来的问题,Apple给出了很多指导;同时很多第三方的开发者也贡献了很多解决方法。不过最近碰到的一个问题很奇怪,觉得有一定的特殊性,与大家分享一下。这个问题似乎在7.0.1以前的版本上并不存在;不过后来我升级版本到了7.0....
分类:
移动开发 时间:
2014-06-05 13:39:57
阅读次数:
324
#include#include#define MAXSIZE 20typedef char
TEelemtype;typedef struct BiTNode{TEelemtype data;struct BiTNode
*lchild,*rchild;}BiTNode,*BiTree;//队列....
分类:
其他好文 时间:
2014-06-05 13:25:12
阅读次数:
377
首先,程序的界面如下:这里一定要使用OpenFileDialog控件,然后该页面代码如下:using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System....
分类:
其他好文 时间:
2014-06-05 13:22:36
阅读次数:
523
url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。type:
要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和
delete也可以使用,但仅部分浏览器支持。timeout: 要求为Number类型的参数,设置请求...
分类:
Web程序 时间:
2014-06-05 13:17:56
阅读次数:
447
要程序你自己去组装去,我只写两个部分,一个是读Excel的部分,然后是写入到xml的1)
从指定的excel读出信息string strConn="provider=Microsoft.Jet.OLEDB.4.0;data
source=你的Excel文件.xls;Extended Properti...
分类:
其他好文 时间:
2014-06-05 13:15:48
阅读次数:
258