码迷,mamicode.com
首页 >  
搜索关键字:content assist    ( 25844个结果
wpf window set window的owner
[DllImport("user32.dll")]publicstaticexternIntPtrGetAncestor(IntPtrhWnd,intflags);vardialog=newC1ImageDialog(); window=newWindow();window.Content=dial...
分类:Windows程序   时间:2014-05-26 22:24:19    阅读次数:762
一个PHP导出XLS的类
//导出XLS文件 public function dataToXls($filename,$fields,$data,$datasum=array()){ header("Content-Type: application/vnd.ms-excel;charset=gbk");...
分类:Web程序   时间:2014-05-26 21:38:31    阅读次数:302
互斥量和条件变量的区别
互斥量与条件变量的区别转载自:http://www.360doc.com/content/12/0129/10/1317564_182456205.shtml前面谈过了线程锁,下面我们在继续研究一下线程锁;互斥量从本质上来说是一个锁,对互斥量加锁后任何其他试图给它加锁的线程都会被阻塞直至当前线程释放...
分类:其他好文   时间:2014-05-26 20:43:25    阅读次数:252
Content-type 的说明
如果要将查询结果导出到Excel,只需将页面的Context-Type修改一下就可以了:header( "Content-Type: application/vnd.ms-excel">如果希望能够提供那个打开/保存的对话框,Content-Disposition参数,Content-Disposi...
分类:其他好文   时间:2014-05-26 15:51:15    阅读次数:172
Tomcat7配置数据源(Oracle)
修改../conf/content.xml WEB-INF/web.xml --> --> 并将ojdbc6.jar拷贝到tomcat的lib目录下,以上则配置好了Oracle数据源。在使用时需要在web.xml中加入: hpms...
分类:数据库   时间:2014-05-26 13:55:00    阅读次数:365
Intent启动照片或者相机
1、Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("image/*"); intent.putExtra("crop", true); in...
分类:其他好文   时间:2014-05-26 12:00:15    阅读次数:230
android 修改listview中adapter数据时抛出异常java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification问题
近日在做项目时遇到非必现crush,具体异常信息为:// Short Msg: java.lang.IllegalStateException// Long Msg: java.lang.IllegalStateException: The content of the adapter has ch...
分类:移动开发   时间:2014-05-26 10:08:36    阅读次数:590
MVC 返回ActionResult 类型
1. Content() 返回文本类型,比如"Hello World!".2.File() 返回文件类型,如PDF,JPG.3.HttpNotFound() 返回404 HTTP 状态码.4.JavaScript() 返回Javascipt 内容. 如 function test(){al...
分类:Web程序   时间:2014-05-26 08:27:06    阅读次数:400
Post请求
写在前面的话:XMLHttpRequest对象的open方法的第一个参数为request-type,取值可以为get或post.本篇介绍post请求.使用post方式时,浏览器会把各表单中字段元素及其数据作为Http消息的实体内容发送给Web服务器.使用post方式时,要注意设置Content-Ty...
分类:其他好文   时间:2014-05-26 07:51:19    阅读次数:247
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!