Developer Network
Developer Network
Developer
:CreateViewProfileText:
登录
MSDN 订阅
获取工具
下载
Visual Studio
SDK
试用软件
免费下载
Office 资源
计划
订阅
Administrators
学生
Microsoft Imagine
Microsoft 学生合作伙伴
ISV
新手
Events(事件)
社区
Magazine
论坛
博客
第 9 频道
文档
API 和参考
开发人员中心
示例
停用的内容
非常抱歉。你请求的内容已被删除。将在 1 秒内自动重定向。
提出问题
快速访问
论坛主页
浏览论坛用户
FAQ
搜索相关主题
Remove From My Forums
积极答复者
我自己写了个gridview继承微软的gridview但是在使用的时候输入 '<' 不会自动出现定义的标签,比如原有的columns标签,要能自动出来这个子定义的gridview应该怎么改?
Web 技术
>
ASP.NET 与 AJAX
问题
0
登录进行投票
我自己写了个gridview继承微软的gridview但是在使用的时候输入 '<' 不会自动出现定义的标签,比如原有的columns标签,要能自动出来这个子定义的gridview应该怎么改?请教!
2009年2月17日 6:48
回复
|
引用
答案
0
登录进行投票
应该是代码的问题吧,直接继承就可以显示出的
using
System;
using
System.Collections.Generic;
using
System.ComponentModel;
using
System.Linq;
using
System.Text;
using
System.Web;
using
System.Web.UI;
using
System.Web.UI.WebControls;
namespace
Mxh
{
[ToolboxData(
"<{0}:ExtGridView runat=server></{0}:ExtGridView>"
)]
public
class
ExtGridView : GridView
{
}
}
孟宪会
已标记为答案
a013strife
2009年3月9日 1:20
2009年2月19日 14:15
回复
|
引用
版主