.net
shenye0909
这个作者很懒,什么都没留下…
展开
-
response.setContentType() ;参数说明
response.setContentType() ;* = application/octet-stream .001 = application/x-001 .301 = application/x-301 .323 = text/h323 .906 = application/x-906 .907 = drawing/907 .a11 = applicatio转载 2012-03-30 20:39:05 · 334 阅读 · 0 评论 -
asp:Content的用法
看页面觉得很奇怪,怎么在源代码里看不到链接,效果上却有链接,于是猜想是不是有类似jsp里面的include之类的方法,比如说当初我用的用户自定义控件usercontrol之类的,结果没发现,却发现多了个然后没有了之类的。上网查了下,结果这是MasterPage技术,百度知道的介绍如下: MasterPage其实是一种模板,它可以让你快速的建立相同页面布局而内部不同的网页转载 2012-04-06 20:54:18 · 4032 阅读 · 0 评论 -
用POI的HSSF来控制EXCEL的研究
n one line.9 row.createCell((short)1).setCellValue(1.2);10 row.createCell((short)2).setCellValue("This is a string");11 row.createCell((short)3).setCellValue(true);12 // Write the outp转载 2012-04-10 14:01:26 · 313 阅读 · 0 评论 -
ASP.NET中读写cookie数据示例代码
ASP.NET中的cookie:创建Cookie方法 (1) Response.Cookies["userName"].Value = “admin"; Response.Cookies[“userName”].Expires = DateTime.Now.AddDays(1); //如果不设置失效时间,Cookie信息不会写到用户硬盘,浏览器关闭将会丢弃。ASP.NET中的c转载 2012-04-13 23:19:56 · 250 阅读 · 0 评论