摘要:
原文地址:http://blog.csdn.net/hyugahinat/article/details/7532898In Visual Studio 2010 (RC) there is no longer a "browse with" context menu when right clicking .aspx pages. How can you change the default browser now?By default it seems to use the operating system default browser, but I would pr
阅读全文
posted @ 2012-05-25 09:15
dm3344
阅读(2236)
推荐(0)
摘要:
<html><head><title>phpTree</title><style>body{margin:0px;}#dragDiv{position:absolute;display:none;background-color:#3366cc;color:#ffffff;}.title{border:0px;font-size:16px;}.node{padding-left:20px;overflow:hidden;}.icon{display:inline;margin-right:5px;cursor:pointer;}<
阅读全文
posted @ 2012-05-21 15:50
dm3344
阅读(2638)
推荐(0)
摘要:
------------------------------------------------ Oracle 日期-------------------------------------------- 本季度第一天SELECT to_char(TRUNC(SYSDATE, 'Q'), 'YYYY-MM-DD') FROM dual;-- 上个季度最后一天(可以用本季度第一天减去1得到)SELECT to_char(TRUNC(SYSDATE, 'Q') - 1, 'YYYY-MM-DD') FROM dual;-- 上个季度第
阅读全文
posted @ 2012-05-18 15:41
dm3344
阅读(16521)
推荐(1)
摘要:
1、建个类在model里面名字随便using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using RHRSP.Web.Controllers.Common;namespace RHRSP.Web.Models{ public class DemoActionAttributeFilter : ActionFilterAttribute { public string Message { get; set; } ...
阅读全文
posted @ 2012-05-17 14:08
dm3344
阅读(1687)
推荐(0)
摘要:
我用的是mvc的1、在model写个类VerificationModule.cs (名字随便啊)using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using System.Data;using System.Collections;using RHRSP.Web.Models;using System.Xml;using RHRSP.Web.Controllers.Common;using System.IO;using System.Ref
阅读全文
posted @ 2012-05-17 11:58
dm3344
阅读(535)
推荐(0)
摘要:
1. get是从服务器上获取数据,post是向服务器传送数据。2. get是把参数数据队列加到提交表单的ACTION属性所指的URL中,值和表单内各个字段一一对应,在URL中可以看到。post是通过HTTP post机制,将表单内各个字段与其内容放置在HTML HEADER内一起传送到ACTION属性所指的URL地址。用户看不到这个过程。3. 对于get方式,服务器端用Request.QueryString获取变量的值,对于post方式,服务器端用Request.Form获取提交的数据。4. get传送的数据量较小,不能大于2KB。post传送的数据量较大,一般被默认为不受限制。但理论上,II
阅读全文
posted @ 2012-05-10 10:50
dm3344
阅读(342)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Text;using System.Reflection;using System.Collections;using System.Data;using System.Data.Common;/// <summary>/// Summary description for FormatToJson/// </summary>public class FormatToJson{ pub
阅读全文
posted @ 2012-05-09 11:54
dm3344
阅读(7319)
推荐(0)
摘要:
Server Application Error The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance. 访问IIS客户端出现如上错信息提示,在网上查了查解决方案如下:1。右键我的电脑--管理--本地用户和组,给IUS
阅读全文
posted @ 2012-04-24 10:14
dm3344
阅读(254)
推荐(0)
摘要:
转自:http://hi.baidu.com/leoleo13/blog/item/1fbc9230e5fa0cb85fdf0e21.html最简单的方法,将下列代码复制,另存文件后缀为.bat,点击运行即可。开启代码:@echo offecho 此批处理启用USB接口pauseCOPY %WINDIR%\usbstor.inf %WINDIR%\inf\usbstor.infCOPY %WINDIR%\usbstor.PNF %WINDIR%\inf\usbstor.PNFreg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Se
阅读全文
posted @ 2012-04-10 15:02
dm3344
阅读(783)
推荐(0)
摘要:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-
阅读全文
posted @ 2012-04-09 11:49
dm3344
阅读(1206)
推荐(0)