11 2010 档案

摘要:原因:服务器上需要cookie才能浏览解决:CookieContainer cookieCon = new CookieContainer();req.CookieContainer = cookieCon;req.Referer = http://www.google.com; //设置HTTP_REFERER 阅读全文
posted @ 2010-11-30 22:18 94cool 阅读(1087) 评论(0) 推荐(0) 编辑
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1privatevoidbutton1_Click(objectsender,EventArgse)2{3UploadFileHttpRequest(AppDomain.CurrentDomain.B... 阅读全文
posted @ 2010-11-26 16:48 94cool 阅读(2638) 评论(2) 推荐(1) 编辑
摘要:WTK目录下的\WTK22\wtklib\devices\DefaultColorPhone\DefaultColorPhone.properties的文件中有一行touch_screen=false,把它改成true 阅读全文
posted @ 2010-11-25 13:58 94cool 阅读(245) 评论(0) 推荐(0) 编辑
摘要:WTK2.5.2\wtklib\devices\DefaultColorPhone\DefaultColorPhone.properties这个配置文件里面screenPaintableRegion.y=10设置为0 阅读全文
posted @ 2010-11-24 17:25 94cool 阅读(544) 评论(0) 推荐(0) 编辑
摘要:重点总结目前为止在ASP.NET网页中传递数据的方式至少有5种:1、通过查询字符串传递数据。2、通过HTTP POST传递数据。3、通过会话状态传递数据。4、通过源页的公共属性传递数据。5、通过源页中的控件值传递数据。到底使用哪种方式来进行数据的传递,这可能受到两方面的影响:1、页面重定向的方式。2、源页和目标页是否位于相同的ASP.NET应用程序中。如果源页和目标页位于不同的ASP.NET应用程... 阅读全文
posted @ 2010-11-10 08:52 94cool 阅读(257) 评论(0) 推荐(0) 编辑
摘要:在asp、asp.net页面中引用外部页面很简单,使用以下语句就可以:<!-- include file="要引用的页面" ->但是在html 静态页面中引用外部页面则没那么方便,主要方法有:1.使用框架来实现,但是那样占用线程较多,速度慢;<IFRAME NAME="neepage" width=100% height=30 marginwidth=0 marginheight... 阅读全文
posted @ 2010-11-05 15:47 94cool 阅读(3053) 评论(0) 推荐(0) 编辑
摘要:<span id="aa">当前时间</span><script>setInterval("aa.innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000); 阅读全文
posted @ 2010-11-05 15:46 94cool 阅读(168) 评论(0) 推荐(0) 编辑
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--privatestringInsertSql(stringXlsFileName){stringerr="";DataSetds=newDataSet();OleDbConnectioncon=new... 阅读全文
posted @ 2010-11-04 16:17 94cool 阅读(146) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示