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. Other Discussions
  3. Clever Code
  4. What's News? [modified]

What's News? [modified]

Scheduled Pinned Locked Moved Clever Code
csharpasp-netcomquestionannouncement
6 Posts 4 Posters 4 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.
  • B Offline
    B Offline
    Brady Kelly
    wrote on last edited by
    #1

    I just nearly had a paroxysm over this code not working. I couldn't figure out why the same stored proc could work when called 'off-line', but not when 'online'.

            SqlDataAdapter adp = new SqlDataAdapter("apNewsFlash\_ListAll", sqn);
            adp.SelectCommand.CommandType = CommandType.StoredProcedure;
            sqn.Open();
            adp.Fill(dt);
    
            ALTER proc \[dbo\].\[apNewFlash\_ListAll\]
    

    Unscrambling Eggs: Decompiling ASP.NET

    moved on Tuesday, August 19, 2008 5:08 PM

    D 1 Reply Last reply
    0
    • B Brady Kelly

      I just nearly had a paroxysm over this code not working. I couldn't figure out why the same stored proc could work when called 'off-line', but not when 'online'.

              SqlDataAdapter adp = new SqlDataAdapter("apNewsFlash\_ListAll", sqn);
              adp.SelectCommand.CommandType = CommandType.StoredProcedure;
              sqn.Open();
              adp.Fill(dt);
      
              ALTER proc \[dbo\].\[apNewFlash\_ListAll\]
      

      Unscrambling Eggs: Decompiling ASP.NET

      moved on Tuesday, August 19, 2008 5:08 PM

      D Offline
      D Offline
      Dan Neely
      wrote on last edited by
      #2

      Should this have been posted to subtle bugs instead of the lounge? Edit: Obviously moved by a forum moderator.

      Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

      modified on Wednesday, August 20, 2008 1:56 PM

      B 1 Reply Last reply
      0
      • D Dan Neely

        Should this have been posted to subtle bugs instead of the lounge? Edit: Obviously moved by a forum moderator.

        Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

        modified on Wednesday, August 20, 2008 1:56 PM

        B Offline
        B Offline
        Brady Kelly
        wrote on last edited by
        #3

        Yes :-O I even thought I posted it in Coding Horrors by accident, not the Lounge, but as you can see, I've been somewhat distracted. :)

        Unscrambling Eggs: Decompiling ASP.NET

        P 1 Reply Last reply
        0
        • B Brady Kelly

          Yes :-O I even thought I posted it in Coding Horrors by accident, not the Lounge, but as you can see, I've been somewhat distracted. :)

          Unscrambling Eggs: Decompiling ASP.NET

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          Was this an altered state of mind?

          Deja View - the feeling that you've seen this post before.

          My blog | My articles

          B 1 Reply Last reply
          0
          • P Pete OHanlon

            Was this an altered state of mind?

            Deja View - the feeling that you've seen this post before.

            My blog | My articles

            B Offline
            B Offline
            Brady Kelly
            wrote on last edited by
            #5

            By now, yes. After spending the whole day debugging JavaScript with a dysfunctional FireBug, I went for a beer to sustain me for the night. Then I ran into this crap and found more beers in the fridge. Now beer is a mere gateway drug: I want blood!!!

            Unscrambling Eggs: Decompiling ASP.NET

            P 1 Reply Last reply
            0
            • B Brady Kelly

              By now, yes. After spending the whole day debugging JavaScript with a dysfunctional FireBug, I went for a beer to sustain me for the night. Then I ran into this crap and found more beers in the fridge. Now beer is a mere gateway drug: I want blood!!!

              Unscrambling Eggs: Decompiling ASP.NET

              P Offline
              P Offline
              Paul Conrad
              wrote on last edited by
              #6

              Brady Kelly wrote:

              I went for a beer to sustain me for the night. Then I ran into this crap and found more beers in the fridge.

              :laugh: That's understandable, been there, done that :)

              "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

              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