pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

  • <legend id='4fM9y'><style id='4fM9y'><dir id='4fM9y'><q id='4fM9y'></q></dir></style></legend>

    <tfoot id='4fM9y'></tfoot>
    • <bdo id='4fM9y'></bdo><ul id='4fM9y'></ul>
  • <small id='4fM9y'></small><noframes id='4fM9y'>

      <i id='4fM9y'><tr id='4fM9y'><dt id='4fM9y'><q id='4fM9y'><span id='4fM9y'><b id='4fM9y'><form id='4fM9y'><ins id='4fM9y'></ins><ul id='4fM9y'></ul><sub id='4fM9y'></sub></form><legend id='4fM9y'></legend><bdo id='4fM9y'><pre id='4fM9y'><center id='4fM9y'></center></pre></bdo></b><th id='4fM9y'></th></span></q></dt></tr></i><div class="00ecsa2" id='4fM9y'><tfoot id='4fM9y'></tfoot><dl id='4fM9y'><fieldset id='4fM9y'></fieldset></dl></div>

      1. C# - 我無法引用 HttpPostedFileBase

        C# - I cannot reference HttpPostedFileBase(C# - 我無法引用 HttpPostedFileBase)
      2. <small id='9bi3Z'></small><noframes id='9bi3Z'>

        <legend id='9bi3Z'><style id='9bi3Z'><dir id='9bi3Z'><q id='9bi3Z'></q></dir></style></legend>
          <bdo id='9bi3Z'></bdo><ul id='9bi3Z'></ul>

              <tbody id='9bi3Z'></tbody>
            1. <tfoot id='9bi3Z'></tfoot>

              1. <i id='9bi3Z'><tr id='9bi3Z'><dt id='9bi3Z'><q id='9bi3Z'><span id='9bi3Z'><b id='9bi3Z'><form id='9bi3Z'><ins id='9bi3Z'></ins><ul id='9bi3Z'></ul><sub id='9bi3Z'></sub></form><legend id='9bi3Z'></legend><bdo id='9bi3Z'><pre id='9bi3Z'><center id='9bi3Z'></center></pre></bdo></b><th id='9bi3Z'></th></span></q></dt></tr></i><div class="wiqoggk" id='9bi3Z'><tfoot id='9bi3Z'></tfoot><dl id='9bi3Z'><fieldset id='9bi3Z'></fieldset></dl></div>

                  本文介紹了C# - 我無法引用 HttpPostedFileBase的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我在具有 CSLA 的分布式環(huán)境中使用 MVC .NET,并且我可以從我的一個 Web 層(例如 Website.MVC)引用 HttpPostedFileBase,但我不能從單獨的層引用 HttpPostedFileBase(我們稱之為 OtherLayer.Web).

                  I am using MVC .NET in a distributed environment with CSLA and I can reference HttpPostedFileBase from one of my web layers (eg Website.MVC), but I cannot reference HttpPostedFileBase from a separate layer (lets call it OtherLayer.Web).

                  知道我需要做什么才能調用 HttpPostedFileBase 嗎?我可以在兩個層中使用 HttpPostedFile - 我應該只使用它嗎?

                  Any idea on what I need to do to be able to call HttpPostedFileBase ? I am able to use HttpPostedFile in both layers - should I just use this instead?

                  程序集引用基本相同 - 在 Website.MVC 我有:

                  The assembly references are basically the same - in Website.MVC I have:

                  namespace Website.Mvc.Controllers
                  {
                    using System;
                    using System.Collections;
                    using System.Collections.Generic;
                    using System.Web.Mvc;
                    using System.Web;
                    using System.IO;
                    using PetOrganizer.Mvc.Helpers;
                    using TrupanionPetInsurance.Web;
                  

                  而在我的另一層中,我有:

                  Whereas in my other layer i have:

                  namespace OtherLayer.Web
                  {
                    using System;
                    using System.Collections;
                    using System.Collections.Generic;
                    using System.Collections.Specialized;
                    using System.Data;
                    using System.Data.SqlClient;
                    using System.IO;
                    using System.Net.Mail;
                    using System.Text;
                    using System.Text.RegularExpressions; 
                    using System.Web;
                    using System.Web.Mvc;
                    using System.Web.Security;
                    using System.Xml;
                    using System.Xml.Serialization;
                    using Csla;
                    using iTextSharp.text;
                    using iTextSharp.text.pdf;
                    using TruDat.BusinessLayer;
                    using TruDat.BusinessLayer.Billing;
                    using TruDat.BusinessLayer.Data;
                    using TruDat.BusinessLayer.Utility;
                    using TrupanionPetInsurance.Web.EmailTemplateParser;
                    using TruDat.BusinessLayer.DataServices;
                  

                  推薦答案

                  確保您的項目引用了 System.Web.Abstractions 程序集,其中包含 HttpPostedFileBase 類型.

                  Make sure your project references the System.Web.Abstractions assembly which contains the HttpPostedFileBase type.

                  雖然看起來很混亂,但 HttpPostedFile 類型位于單獨的程序集 (System.Web) 中,但具有完全相同的命名空間.

                  As confusing as it may seem, the HttpPostedFile type lives in a separate assembly (System.Web) but the same exact namespace.

                  請務必記住,命名空間可以跨越程序集,并且程序集的名稱不一定指示其中包含的類型的命名空間.沒有 System.Web.Abstractions namespace 只是兩個包含 System.Web 命名空間中的類型的程序集.

                  It is important to remember that the namespaces can span assemblies and the name of an assembly does not necessarily dictate the namespace of the types contained in it. There is no System.Web.Abstractions namespace simply two assemblies that contain types in the System.Web namespace.

                  一旦你引用了這兩個程序集,你就可以使用這個單一的 using 語句通過它們的非限定名稱來引用這兩種類型:

                  Once you have referenced both assemblies you can reference both types by their unqualified names with this single using statement:

                  using System.Web;
                  

                  這篇關于C# - 我無法引用 HttpPostedFileBase的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  What are good algorithms for vehicle license plate detection?(車牌檢測有哪些好的算法?)
                  onClick event for Image in Unity(Unity中圖像的onClick事件)
                  Running Total C#(運行總 C#)
                  Deleting a directory when clicked on a hyperlink with JAvascript.ASP.NET C#(單擊帶有 JAvascript.ASP.NET C# 的超鏈接時刪除目錄)
                  asp.net listview highlight row on click(asp.net listview 在單擊時突出顯示行)
                  Calling A Button OnClick from a function(從函數(shù)調用按鈕 OnClick)
                      <tbody id='0mgcp'></tbody>

                      <bdo id='0mgcp'></bdo><ul id='0mgcp'></ul>

                        <tfoot id='0mgcp'></tfoot>
                        • <legend id='0mgcp'><style id='0mgcp'><dir id='0mgcp'><q id='0mgcp'></q></dir></style></legend>
                          • <small id='0mgcp'></small><noframes id='0mgcp'>

                            <i id='0mgcp'><tr id='0mgcp'><dt id='0mgcp'><q id='0mgcp'><span id='0mgcp'><b id='0mgcp'><form id='0mgcp'><ins id='0mgcp'></ins><ul id='0mgcp'></ul><sub id='0mgcp'></sub></form><legend id='0mgcp'></legend><bdo id='0mgcp'><pre id='0mgcp'><center id='0mgcp'></center></pre></bdo></b><th id='0mgcp'></th></span></q></dt></tr></i><div class="yu2iwci" id='0mgcp'><tfoot id='0mgcp'></tfoot><dl id='0mgcp'><fieldset id='0mgcp'></fieldset></dl></div>

                            主站蜘蛛池模板: 蓝米云-专注于高性价比香港/美国VPS云服务器及海外公益型免费虚拟主机 | 手持式3d激光扫描仪-便携式三维立体扫描仪-北京福禄克斯 | 上海平衡机-单面卧式动平衡机-万向节动平衡机-圈带动平衡机厂家-上海申岢动平衡机制造有限公司 | 深圳3D打印服务-3D打印加工-手板模型加工厂-悟空打印坊 | 铝合金线槽_铝型材加工_空调挡水板厂家-江阴炜福金属制品有限公司 | UV固化机_UVLED光固化机_UV干燥机生产厂家-上海冠顶公司专业生产UV固化机设备 | 纯水电导率测定仪-万用气体检测仪-低钠测定仪-米沃奇科技(北京)有限公司www.milwaukeeinst.cn 锂辉石检测仪器,水泥成分快速分析仪-湘潭宇科分析仪器有限公司 手术室净化装修-手术室净化工程公司-华锐手术室净化厂家 | 万博士范文网-您身边的范文参考网站Vanbs.com | 绿萝净除甲醛|深圳除甲醛公司|测甲醛怎么收费|培训机构|电影院|办公室|车内|室内除甲醛案例|原理|方法|价格立马咨询 | uv固化机-丝印uv机-工业烤箱-五金蚀刻机-分拣输送机 - 保定市丰辉机械设备制造有限公司 | 煤棒机_增碳剂颗粒机_活性炭颗粒机_木炭粉成型机-巩义市老城振华机械厂 | 玉米深加工设备-玉米深加工机械-新型玉米工机械生产厂家-河南粮院机械制造有限公司 | 空气能暖气片,暖气片厂家,山东暖气片,临沂暖气片-临沂永超暖通设备有限公司 | 扬子叉车厂家_升降平台_电动搬运车|堆高车-扬子仓储叉车官网 | 非甲烷总烃分析仪|环控百科| 潍坊青州古城旅游景点攻略_青州酒店美食推荐-青州旅游网 | 数显恒温培养摇床-卧式/台式恒温培养摇床|朗越仪器 | 云阳人才网_云阳招聘网_云阳人才市场_云阳人事人才网_云阳人家招聘网_云阳最新招聘信息 | FAG轴承,苏州FAG轴承,德国FAG轴承-恩梯必传动设备(苏州)有限公司 | 热处理温控箱,热处理控制箱厂家-吴江市兴达电热设备厂 | 污水处理设备-海普欧环保集团有限公司 | 涿州网站建设_网站设计_网站制作_做网站_固安良言多米网络公司 | 信阳网站建设专家-信阳时代网联-【信阳网站建设百度推广优质服务提供商】信阳网站建设|信阳网络公司|信阳网络营销推广 | 防爆电机_ybx3系列电机_河南省南洋防爆电机有限公司 | 陕西自考报名_陕西自学考试网 | ★店家乐|服装销售管理软件|服装店收银系统|内衣店鞋店进销存软件|连锁店管理软件|收银软件手机版|会员管理系统-手机版,云版,App | 服务器之家 - 专注于服务器技术及软件下载分享 | 氧化锆陶瓷_氧化锆陶瓷加工_氧化锆陶瓷生产厂家-康柏工业陶瓷有限公司 | 化妆品加工厂-化妆品加工-化妆品代加工-面膜加工-广东欧泉生化科技有限公司 | 螺纹三通快插接头-弯通快插接头-宁波舜驰气动科技有限公司 | 东莞海恒试验仪器设备有限公司 | 江苏南京多语种翻译-专业翻译公司报价-正规商务翻译机构-南京华彦翻译服务有限公司 | 蓝鹏测控平台 - 智慧车间系统 - 车间生产数据采集与分析系统 | 卫生人才网-中国专业的医疗卫生医学人才网招聘网站! | 登车桥动力单元-非标液压泵站-非标液压系统-深圳市三好科技有限公司 | 高尔夫球杆_高尔夫果岭_高尔夫用品-深圳市新高品体育用品有限公司 | 专注提供国外机电设备及配件-工业控制领域一站式服务商-深圳市华联欧国际贸易有限公司 | 涿州网站建设_网站设计_网站制作_做网站_固安良言多米网络公司 | 智慧旅游_智慧景区_微景通-智慧旅游景区解决方案提供商 | 南京交通事故律师-专打交通事故的南京律师 | 体检车_移动CT车_CT检查车_CT车_深圳市艾克瑞电气有限公司移动CT体检车厂家-深圳市艾克瑞电气有限公司 |