SharePoint控件的使用

在aspx页面头部加入:
<%@ Control Language="c#" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="Microsoft.SharePoint.WebControls" %>


或者在vs中加入控件,然后拖拽到页面上,也会自动生成上面的代码的register部分。
posted @ 2008-06-23 11:08  KID  阅读(806)  评论(0编辑  收藏  举报