using System;
using System.Web;namespace Handletest
{
/// <summary>
/// SimpleHandle 的摘要说明。
/// </summary>
public class SimpleHandle : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{ context.Response.Write("Hello World!"); }
public bool IsReusable()
{
return true;
} } }
编译确提示错误
“Handletest.SimpleHandle”不会实现接口成员“System.Web.IHttpHandler.IsReusable”那个接口成员不是已经实现了吗?
using System.Web;namespace Handletest
{
/// <summary>
/// SimpleHandle 的摘要说明。
/// </summary>
public class SimpleHandle : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{ context.Response.Write("Hello World!"); }
public bool IsReusable()
{
return true;
} } }
编译确提示错误
“Handletest.SimpleHandle”不会实现接口成员“System.Web.IHttpHandler.IsReusable”那个接口成员不是已经实现了吗?
解决方案 »
- 求助一个在iframe中如果有验证页面的问题
- 一套简体中文版的新闻系统,我的意思是说,后台管理界面是简体中文的。 如果把它安装在英文版的windows server 上,用户在后台看到的是中文界面吗?还是乱码?需要修改什么地方吗?
- 初学asp.net正在学习控件,没想到出师不利!
- ???菜鸟刚学用c#做asp.net网页,我想知道阿里巴巴一打开主页是如何知道客户的机器里是否安装了贸易通呢?还有就是点击网页上的马上联
- GridView分页显示
- window.open 的问题。
- 在应用程序级别以外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。导致该错误的原因可能是在 IIS 中没有将虚拟目录
- 急!在Datalist中放入了HyperLink这个控件,邦定其NavigateUrl这个属性,要求其打开后一个没有地址栏,工具栏,菜单栏的IE窗口,这个自定
- 求dropdownlist客户端联动的问题
- 聊聊项目奖金吧
- HyperLink如何在后台代码中实现传2个参数的代码
- Response.Redirect()问题,高手进来下
{
get{return true;}
}
public bool IsReusable
{
get{
return true;
}
}