久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <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="qwawimqqmiuu" 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="qwawimqqmiuu" 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).

                  知道我需要做什么才能調(diào)用 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)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(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ù)調(diào)用按鈕 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="qwawimqqmiuu" id='0mgcp'><tfoot id='0mgcp'></tfoot><dl id='0mgcp'><fieldset id='0mgcp'></fieldset></dl></div>

                            主站蜘蛛池模板: 中文日韩在线 | 国产精品一区视频 | 日韩欧美小视频 | 国产欧美精品一区二区三区 | 免费网站观看www在线观看 | 国产中文字幕一区二区 | 国产91在线观看 | 欧美成人免费在线视频 | 精品伊人久久 | 日韩视频在线观看免费 | 久久久久久一区二区 | 91成人国产| 日本不卡一区二区三区 | 日韩欧美在线免费观看 | 国产自产21区 | 国产精品嫩草影院桃色 | 黄色片毛片 | 亚洲欧美国产毛片在线 | 一级欧美一级日韩 | 欧美精品一区在线 | 欧美日韩精品久久 | 成人午夜在线观看 | 国产午夜精品视频 | 亚洲天天| 欧美一级片 | 97精品超碰一区二区三区 | 午夜丁香 | 天天爽天天干 | 狠狠的操 | 草草在线视频 | 欧美中文字幕在线 | 精品亚洲一区二区 | 日本在线一区二区三区 | 中文字幕av久久爽一区 | 欧美国产综合 | 欧美成人午夜 | 欧美日韩一区二区在线 | 正在播放国产精品 | 国产精品久久久久久中文字 | 亚洲精品久久久 | 黄色三级视频在线观看 |