Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. When the code is not separated

When the code is not separated

Scheduled Pinned Locked Moved ASP.NET
database
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    msomar
    wrote on last edited by
    #1

    When the code is not separated to index.aspx and index.aspx.vb but all the code aspx and vb in the same page index.aspx where I can but the code such as :

    Imports system.IO

    A 1 Reply Last reply
    0
    • M msomar

      When the code is not separated to index.aspx and index.aspx.vb but all the code aspx and vb in the same page index.aspx where I can but the code such as :

      Imports system.IO

      A Offline
      A Offline
      A5KEXTREME
      wrote on last edited by
      #2

      <%@ Import Namespace="myNamespace"> Try this..

      M 1 Reply Last reply
      0
      • A A5KEXTREME

        <%@ Import Namespace="myNamespace"> Try this..

        M Offline
        M Offline
        msomar
        wrote on last edited by
        #3

        Thanks . But this error is occurred: Parser Error Message: The server block is not well formed.

        A A 2 Replies Last reply
        0
        • M msomar

          Thanks . But this error is occurred: Parser Error Message: The server block is not well formed.

          A Offline
          A Offline
          A5KEXTREME
          wrote on last edited by
          #4

          k try this <%@ Import Namespace="system.IO" %>

          1 Reply Last reply
          0
          • M msomar

            Thanks . But this error is occurred: Parser Error Message: The server block is not well formed.

            A Offline
            A Offline
            Arindam Tewary
            wrote on last edited by
            #5

            You have missed server side tage closing character "%>" ( you have provided ">" only )

            Thanks, Arindam D Tewary

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups