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

Mathematical

Scheduled Pinned Locked Moved ASP.NET
databasetutorial
10 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.
  • G Offline
    G Offline
    geeeeeeeetha
    wrote on last edited by
    #1

    i'm retriving this value from database 12+(IIf( 0>0, 0, 0))+34 How to eval this value

    C B 3 Replies Last reply
    0
    • G geeeeeeeetha

      i'm retriving this value from database 12+(IIf( 0>0, 0, 0))+34 How to eval this value

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      what is your question ? How does it relate to ASP.NET ? While this is a little weird looking, it's just 12 + 34. Unless there's something you're not telling us. What are you getting from the DB and how/where do you want to evaluate it ?

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      G 1 Reply Last reply
      0
      • G geeeeeeeetha

        i'm retriving this value from database 12+(IIf( 0>0, 0, 0))+34 How to eval this value

        B Offline
        B Offline
        Blue_Boy
        wrote on last edited by
        #3

        That IIf condition will give you always value zero so your result will be 12+34=46


        I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

        C 1 Reply Last reply
        0
        • C Christian Graus

          what is your question ? How does it relate to ASP.NET ? While this is a little weird looking, it's just 12 + 34. Unless there's something you're not telling us. What are you getting from the DB and how/where do you want to evaluate it ?

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          G Offline
          G Offline
          geeeeeeeetha
          wrote on last edited by
          #4

          [Message Deleted]

          C 1 Reply Last reply
          0
          • G geeeeeeeetha

            [Message Deleted]

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            OK, so the DB has nothing to do with it. You want to write Excel in a website ? Then you need to write a parsing engine. Your easiest bet, if you want to use the same formulas as Excel, is to use Excel on the back end to parse these things.

            Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

            G 1 Reply Last reply
            0
            • C Christian Graus

              OK, so the DB has nothing to do with it. You want to write Excel in a website ? Then you need to write a parsing engine. Your easiest bet, if you want to use the same formulas as Excel, is to use Excel on the back end to parse these things.

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

              G Offline
              G Offline
              geeeeeeeetha
              wrote on last edited by
              #6

              [Message Deleted]

              C 1 Reply Last reply
              0
              • G geeeeeeeetha

                [Message Deleted]

                C Offline
                C Offline
                Christian Graus
                wrote on last edited by
                #7

                Well, if you can't work out how to use Excel to parse it, then I doubt you'll work out how to write a parsing engine, which is a ton more work.

                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                1 Reply Last reply
                0
                • G geeeeeeeetha

                  i'm retriving this value from database 12+(IIf( 0>0, 0, 0))+34 How to eval this value

                  C Offline
                  C Offline
                  Christian Graus
                  wrote on last edited by
                  #8

                  rjayaabharathi@gmail.com wrote:

                  i'm retriving this value from database 12+(IIf( 0>0, 0, 0))+34 How to eval this value

                  I see you're deleting all your posts. Perhaps instead you could try posting your actual code, and asking more specific questions, so we can work out what you've tried, and where you're going wrong. People who ask vague questions, and then delete their posts because we can't read their minds and do their jobs for them, really get up my nose.

                  Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                  1 Reply Last reply
                  0
                  • B Blue_Boy

                    That IIf condition will give you always value zero so your result will be 12+34=46


                    I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #9

                    I 5d you. This moron asked a vague question, didn't mean quite what he was saying, and is 1 voting us for not doing his work for him.

                    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                    B 1 Reply Last reply
                    0
                    • C Christian Graus

                      I 5d you. This moron asked a vague question, didn't mean quite what he was saying, and is 1 voting us for not doing his work for him.

                      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                      B Offline
                      B Offline
                      Blue_Boy
                      wrote on last edited by
                      #10

                      Some people really don't deserve help,and they become ignorant only bcause they don't know how to ask a quesion and they are not able to explain it. That makes no sense if he/she voted our answers by 1,but whatever this forum is dedicated for helping each-other and nobody can't valuation with bad votes to expreienced and excellent CP (CodeProject) users like you. Regards.


                      I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

                      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