Search results for query: *

  • Users: jcs
  • Order by date
  1. J

    Connecting to Database in Visual Studio 2010

    I plan to eventually use the row returned to create an array. (Currently I just have a ton of hard-coded individual variables.) For now, once I get rid of the above errors, I will put in code to display the results. I have the table adapter set up to do both Get and Fill since I didn't know...
  2. J

    Connecting to Database in Visual Studio 2010

    I am fairly new to C# and just as new to Visual Studio and am working on a project for personal development. I am following the instructions at the following page to set up a connection from a windows form to the database: How to: Create and Execute an SQL Statement that Returns Rows I have a...
  3. J

    Calling method from another method

    After taking the last advice given, it still wouldn't work. However, it looks like once I took your advice, the problem wasn't the coding. It works like a charm now. The only thing I can think of that might have been different since the last time I tried it, was that I uninstalled a bunch of...
  4. J

    Calling method from another method

    Thanks. When I made those changes, I get these two error messages: No overload for 'calculate_Joint' matches delegate 'System.EventHandler' No overload for 'calculate_Head' matches delegate 'System.EventHandler' Note that it doesn't give that error message for calculate_Single for some...
  5. J

    Calling method from another method

    If I add () to each of those lines, then I get these error messages for those methods: No overload for method 'calculate_Single' takes 0 arguments No overload for method 'calculate_Joint' takes 0 arguments No overload for method 'calculate_Head' takes 0 arguments
  6. J

    Calling method from another method

    Oh sorry, inside the calculate_Master method, there are three lines: calculate_Single; calculate_Joint; calculate_Head; Each one of those generate the same error message.
  7. J

    Calling method from another method

    The application I am creating is a form that will take a salary that is typed into a text box and calculates the annual amount of income tax. My problem is that I cannot make calculate_Master method to work, so right now I just have the calculate_Single executing when the calculate button...
Back
Top Bottom