就是人家写好的dll,我如何能使它跟着我的项目走我现在是把dll放在App_Code里,但是有个问题,我不能把它添加到工具箱里了,请问大侠一般是如何使用别人写的控件的?

解决方案 »

  1.   

    不一定硬要放在工具箱里面,能用就行了~
    不过就是自己写个using或者是Import,其他都一样~
      

  2.   

    ls最后一步“导入”没看见,是不是说的按“浏览”去找到那个dll?
      

  3.   

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddContract.aspx.cs" Inherits="manage_AddContact" %>
    <%@ Register Assembly="eWorld.UI" Namespace="eWorld.UI" TagPrefix="ew" %>
    <!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 runat="server">
        <title>AddContract</title>
        <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    注册下就可以用了
    <ew:calendarpopup id="txtBir" runat="server" width="80px">