1. D

    System.FormatException : 'Input string was not in a correct format.'

    Good evening, I get an error on this line : command.Parameters.AddWithValue("@chambreCat", Convert.ToInt32(cbAdminCat.Text)); I want to be able to convert my character string to INT otherwise I could not insert the value into the database if it is not an integer. Here is the code for my...
  2. U

    Drawing rectangle on main form from class

    Hello, this is My first time posting here. I'm making a 2 dimensional side scrolling game. What i'm doing is making a level editor, and i need a class that represents each type of block for instance: "Dirt" I need a class called dirt(which i have). Inside that class is a function called Run...
Top Bottom