• <tfoot id='aBnXv'></tfoot>
    <i id='aBnXv'><tr id='aBnXv'><dt id='aBnXv'><q id='aBnXv'><span id='aBnXv'><b id='aBnXv'><form id='aBnXv'><ins id='aBnXv'></ins><ul id='aBnXv'></ul><sub id='aBnXv'></sub></form><legend id='aBnXv'></legend><bdo id='aBnXv'><pre id='aBnXv'><center id='aBnXv'></center></pre></bdo></b><th id='aBnXv'></th></span></q></dt></tr></i><div id='aBnXv'><tfoot id='aBnXv'></tfoot><dl id='aBnXv'><fieldset id='aBnXv'></fieldset></dl></div>

      <small id='aBnXv'></small><noframes id='aBnXv'>

        <bdo id='aBnXv'></bdo><ul id='aBnXv'></ul>

      1. <legend id='aBnXv'><style id='aBnXv'><dir id='aBnXv'><q id='aBnXv'></q></dir></style></legend>

        将 ASP.NET 与 ASP 混合

        Mixing ASP.NET with ASP(将 ASP.NET 与 ASP 混合)
          <tbody id='Xw4j8'></tbody>
        • <tfoot id='Xw4j8'></tfoot>
            <i id='Xw4j8'><tr id='Xw4j8'><dt id='Xw4j8'><q id='Xw4j8'><span id='Xw4j8'><b id='Xw4j8'><form id='Xw4j8'><ins id='Xw4j8'></ins><ul id='Xw4j8'></ul><sub id='Xw4j8'></sub></form><legend id='Xw4j8'></legend><bdo id='Xw4j8'><pre id='Xw4j8'><center id='Xw4j8'></center></pre></bdo></b><th id='Xw4j8'></th></span></q></dt></tr></i><div id='Xw4j8'><tfoot id='Xw4j8'></tfoot><dl id='Xw4j8'><fieldset id='Xw4j8'></fieldset></dl></div>
          • <legend id='Xw4j8'><style id='Xw4j8'><dir id='Xw4j8'><q id='Xw4j8'></q></dir></style></legend>

              <bdo id='Xw4j8'></bdo><ul id='Xw4j8'></ul>

                1. <small id='Xw4j8'></small><noframes id='Xw4j8'>

                2. 本文介绍了将 ASP.NET 与 ASP 混合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  This might be a crazy question (I'm somewhat new to ASP.NET). But is it possible to mix ASP.NET code with classic ASP e.g. embedded a form created in ASP.NET in a classic ASP page?

                  解决方案

                  No you can not*

                  asp pages are basic simple pages that are actually running stand alone scripts on server side, and server returns the result. Every page is alone.

                  asp.net pages are a complete program that are connected together because they running under one pool, compile them all together in a single directory with many sub-directories, have special directories and other options. The pool that run the pages handle some common data, and session states, and many other thinks.

                  So you can have a full asp.net setup for your site, that first make it run, and then you can probably use some asp page to do some extra work until you transfer them all to asp.net

                  So the two are not have any relative together, so in simple answer you can not embedd anything from one to the other.

                  Ways of sharing data between asp and asp.net

                  • You only can use iframe tricks to load one page into the other, but they still different and I do not like the idea.
                  • You use some ajax tricks to get and send data. No so cool idea also.
                  • You can use also a common database to share data.
                  • You can use same cookies to share data.
                  • You can not have the same session data (except with custom library for session like groat.com).
                  • You can share files.

                  * Except if you code is so simple like

                  <% IF Len(SomeString) < 3 then %>
                  Ok something here
                  <% end if %>
                  

                  In this case the code is simple running on both pages, but they are not embedded asp in asp.net, is complete render one page over one of the two.

                  The #include Directive is valid on both, but on asp.net is not going to compile the included file as on asp.

                  They have some common way of typing code but they are totally different, and you need start thinning different when you go to move from asp to asp.net

                  这篇关于将 ASP.NET 与 ASP 混合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  listbox selected item give me quot; System.Data.DataRowViewquot; , C# winforms(列表框选择的项目给我quot;System.Data.DataRowView, C# Winforms)
                  Cannot remove items from ListBox(无法从列表框中删除项目)
                  Preventing ListBox scrolling to top when updated(更新时防止列表框滚动到顶部)
                  Deselection on a WPF listbox with extended selection mode(具有扩展选择模式的 WPF 列表框上的取消选择)
                  How do I get at the listbox item#39;s quot;keyquot; in c# winforms app?(如何获取列表框项目的“键?在 c# winforms 应用程序中?)
                  Problem getting list box items added through jquery in code behind(在后面的代码中通过 jquery 添加列表框项目时出现问题)
                  <i id='5wY7W'><tr id='5wY7W'><dt id='5wY7W'><q id='5wY7W'><span id='5wY7W'><b id='5wY7W'><form id='5wY7W'><ins id='5wY7W'></ins><ul id='5wY7W'></ul><sub id='5wY7W'></sub></form><legend id='5wY7W'></legend><bdo id='5wY7W'><pre id='5wY7W'><center id='5wY7W'></center></pre></bdo></b><th id='5wY7W'></th></span></q></dt></tr></i><div id='5wY7W'><tfoot id='5wY7W'></tfoot><dl id='5wY7W'><fieldset id='5wY7W'></fieldset></dl></div>
                  <legend id='5wY7W'><style id='5wY7W'><dir id='5wY7W'><q id='5wY7W'></q></dir></style></legend>

                  • <small id='5wY7W'></small><noframes id='5wY7W'>

                        <tbody id='5wY7W'></tbody>
                    • <tfoot id='5wY7W'></tfoot>

                            <bdo id='5wY7W'></bdo><ul id='5wY7W'></ul>