1 data segment 2 ;定义字符串缓冲区 3 ;MAXLEN 表示允许输入的最大字符数量
4 ;ACTLEN 表示实际输入的数量 5 ;STR 用于存储输入的字符串 6 ;以下面为例,允许最大输入5个字符,如果STR后面...
分类:
其他好文 时间:
2014-05-20 02:16:42
阅读次数:
370
This blog post introduces the problem with
Globals, Side Effect when Forgetting var, Access the Global Object, Single var
Pattern and Hoisting: A prob...
分类:
编程语言 时间:
2014-05-20 01:30:31
阅读次数:
404
前一篇《jQuery.Ajax()执行WCF
Service的方法》http://www.cnblogs.com/insus/p/3727875.html我们有练习在asp.net
mvc应用程序中,POST 数据去wcf service并执行方法。本篇的练习是提交较复对象至wcf service执...
分类:
Web程序 时间:
2014-05-20 01:20:56
阅读次数:
398
1.写了ToDoDataContext类,实现数据存储 在实例化类中,忘记检查 数据库
是否已存在,导致一直报错: “System.Data.SqlServerCe.SqlCeException”类型的未经处理的异常在
Microsoft.Phone.Interop.ni.dll 中发生...
分类:
其他好文 时间:
2014-05-20 00:27:40
阅读次数:
365
第一步:建立所有页面的基类PageBase.csusing System;using
System.Data;using System.Configuration;using System.Web;using
System.Web.Security;using System.Web.UI;using...
分类:
其他好文 时间:
2014-05-19 22:20:12
阅读次数:
368
1 #include "iostream" 2 #include "string" 3 using
namespace std; 4 5 typedef struct node{ 6 string data; 7 struct node *next; 8
node(str...
分类:
其他好文 时间:
2014-05-19 22:08:01
阅读次数:
368
jsp页面中
通知浏览器以utf-8解码get请求编码方式和post请求提交编码方式不同,get是把数据直接放到url中,例如以上的uname,IE浏览器先对中文进行utf-8编码(一个中文3个字符表示
太长),继而为了缩短字符又用ISO8859-1编码后传递给服务器。服务器的doGet方法中要先....
分类:
其他好文 时间:
2014-05-19 21:21:52
阅读次数:
357
用Chrome的插件Simple REST Client
调用POST的REST服务时,老是报415错误,如图。一开始就以为是服务端的问题,各种google,百度,折腾了一下午未果。
晚上继续看,一不小心看到返回的Response的Headers中Content-Type的值与冒号之间有一个空格,于...
分类:
其他好文 时间:
2014-05-17 17:47:55
阅读次数:
445
1.Scatter/Gather I/Oa single system call to
read or write data between single data stream and multiple buffersThis type of
I/O is so named because the...
分类:
系统相关 时间:
2014-05-17 14:17:55
阅读次数:
571
本文翻译自 Samer Abu Rabie 的 《Redirect and POST in
ASP.NET》 简介 在实际项目中,我们会遇到这样一种应用场景:我们需要与第三方的应用程序通信,在某些特定的情形下,我们不得不使用 POST 请求而非 GET
请求传递信息。 背景 起初,这个问题看起来很简...
分类:
Web程序 时间:
2014-05-17 14:14:37
阅读次数:
447