看下面的英文解释:const char* c_str ( ) const;Get C string equivalentGenerates a null-terminated sequence of characters (c-string) with the same content as the...
分类:
编程语言 时间:
2014-07-09 20:40:50
阅读次数:
345
在VS里面新增一些文件的时候,往往发布的时候会发布不了,比如:(*.rdlc,*.p12)。在项目里面,这些项目已经包含在项目里了,但是发布后,会发现这些文件并没有被发布出来解决办法:邮件选择文件,然后点击属性,在“Build Action”里面选择“content” 就可以了。默认这项的值是“No...
分类:
其他好文 时间:
2014-07-09 00:49:53
阅读次数:
244
ContentPropertyAttribute 是使用在类的声明上的特性,表示xmal标签内容对应的clr类中的属性,目前发现Control的子类下有这几种属性:1.Content。这个是最常见的啦。ContentControl、Page 2.Items。ItemsControl 3.Do...
分类:
其他好文 时间:
2014-07-08 23:29:52
阅读次数:
224
最近在玩Thinkphp,废话不多说,说正事.
客户端js提交代码
1 $.post('http://localhost/app/index.php/Index/Index/handle',{username : document.getElementById('username').value,content : document.getElementById('content')....
分类:
Web程序 时间:
2014-07-08 18:44:07
阅读次数:
231
1.config.properties文件写不进中文,写进去都变成了unicode,解决办法是右键该文件——Properties——Resource——Text file encoding ,选other,我将other改为了UTF-8,这样可以写进去中文,但是读取时又变成乱码了。
2,解决读取乱码:
String content = new String(PropertiesConfig.getProperty("mail.content").getBytes("ISO8859-1"), "utf-8"...
分类:
编程语言 时间:
2014-07-08 13:23:03
阅读次数:
160
艾伦说过,一切学习都是从模仿开始,我也不例外。下面我要说的是两个页面之间的通信问题。假设现有a.html 需要与b.html进行数据交互,a通过iframe加载b.htmla.html click b.html: b here is the content about iframe b...
分类:
其他好文 时间:
2014-07-08 00:24:16
阅读次数:
222
弹出层效果API 属性 默认值 说明 ButId but 点击按钮Id(必选) ElementId box 弹出层Id(必选) title 提示信息 提示层标题(可选) content 自行编辑 提示层内容(可选) width 340px 提示层宽度(可选) height 120px 提示层高度.....
分类:
Web程序 时间:
2014-07-06 19:54:37
阅读次数:
143
the request doesn't contain a multipart/form-data or multipart/form-data stream, content type header一,HTTP上传的基本知识 在Form元素的语法中,EncType表明提交数据的格式 用 Encty...
分类:
其他好文 时间:
2014-07-06 13:16:31
阅读次数:
280
<EditText
android:layout_marginTop="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="输入单位"
android:layout_marginLef...
分类:
移动开发 时间:
2014-07-06 12:06:32
阅读次数:
296
今天来按照apidemos提供的方法来实现slow loading的效果.
Main.java
import android.app.ListActivity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view...