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. SQLStatement

SQLStatement

Scheduled Pinned Locked Moved ASP.NET
databasesql-serversysadminquestion
4 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.
  • A Offline
    A Offline
    arsha_midy
    wrote on last edited by
    #1

    It may be somewhat odd to discuss about older technologies, but it has always been interesting to me to know that about. Ok, I have the following as my "filename.htx" file: <%begindetail%> <%enddetail%>

    <%LastName%>

    <%FirstName%>

    <%EMail%>

    And here is my "addto.idc" file: Datasource:Address_IDC Template:filename.htx SQLStatement:INSERT INTO Addresses(LastName, FirstName, EMail) VALUES('%FName%', '%LName%', '%Email%') It works fine as it inserts data to database, but I need to display all records stored after the above insertion. What can I do? N.B. SQL Server uses "output inserted" clause to do so but I haven't tested with that. I use Access 2007 as the database. Real Eyes Realize Real Lies.

    N 1 Reply Last reply
    0
    • A arsha_midy

      It may be somewhat odd to discuss about older technologies, but it has always been interesting to me to know that about. Ok, I have the following as my "filename.htx" file: <%begindetail%> <%enddetail%>

      <%LastName%>

      <%FirstName%>

      <%EMail%>

      And here is my "addto.idc" file: Datasource:Address_IDC Template:filename.htx SQLStatement:INSERT INTO Addresses(LastName, FirstName, EMail) VALUES('%FName%', '%LName%', '%Email%') It works fine as it inserts data to database, but I need to display all records stored after the above insertion. What can I do? N.B. SQL Server uses "output inserted" clause to do so but I haven't tested with that. I use Access 2007 as the database. Real Eyes Realize Real Lies.

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      And how is this related to ASP.NET?


      I know the language. I've read a book. - _Madmatt

      A 1 Reply Last reply
      0
      • N Not Active

        And how is this related to ASP.NET?


        I know the language. I've read a book. - _Madmatt

        A Offline
        A Offline
        arsha_midy
        wrote on last edited by
        #3

        Where should I post that question? I could also post that in "web development" or "database" section. But the question is also not really related to any of those section above. Real Eyes Realize Real Lies.

        N 1 Reply Last reply
        0
        • A arsha_midy

          Where should I post that question? I could also post that in "web development" or "database" section. But the question is also not really related to any of those section above. Real Eyes Realize Real Lies.

          N Offline
          N Offline
          Nishant Singh
          wrote on last edited by
          #4

          Post it in Web development forum since this looks to be a question related to ASP, There you might get correct answer , here most people have either not worked on ASP or have forgotten it long time back ;)

          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