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. General Programming
  3. C#
  4. PLEASE HELP !!!!!!!!!!

PLEASE HELP !!!!!!!!!!

Scheduled Pinned Locked Moved C#
helpdatabasecsharpsysadminquestion
3 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.
  • R Offline
    R Offline
    RoyiNamir
    wrote on last edited by
    #1

    :sigh: :sigh: im getting crazy here i have a c# application in which i have client and server. there is no continuing connection between them every time the client want something , he open the connection and query... i also have a function which called : run_sql_select_command in it , i have try and catch if there is no database ( or other problem). the problem is that i want , IF ERROR , IN THE CATCH , goto the login screen. i have just 1 form. the program going to the login and then COMEBACK to the function !!!!!!! ( i dont want it - i want it to stay at the login section) i tried goto , but it is not in the scope, what can i do ?? please,.

    C R 2 Replies Last reply
    0
    • R RoyiNamir

      :sigh: :sigh: im getting crazy here i have a c# application in which i have client and server. there is no continuing connection between them every time the client want something , he open the connection and query... i also have a function which called : run_sql_select_command in it , i have try and catch if there is no database ( or other problem). the problem is that i want , IF ERROR , IN THE CATCH , goto the login screen. i have just 1 form. the program going to the login and then COMEBACK to the function !!!!!!! ( i dont want it - i want it to stay at the login section) i tried goto , but it is not in the scope, what can i do ?? please,.

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

      while(true)

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      1 Reply Last reply
      0
      • R RoyiNamir

        :sigh: :sigh: im getting crazy here i have a c# application in which i have client and server. there is no continuing connection between them every time the client want something , he open the connection and query... i also have a function which called : run_sql_select_command in it , i have try and catch if there is no database ( or other problem). the problem is that i want , IF ERROR , IN THE CATCH , goto the login screen. i have just 1 form. the program going to the login and then COMEBACK to the function !!!!!!! ( i dont want it - i want it to stay at the login section) i tried goto , but it is not in the scope, what can i do ?? please,.

        R Offline
        R Offline
        Rob Graham
        wrote on last edited by
        #3

        Your design is flawed, and shows a poor grasp of how .Net works works.

        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