Stumped by ExecuteNonQuery()

Results 1 to 2 of 2

Thread: Stumped by ExecuteNonQuery()

  1. #1
    Join Date
    Dec 1969

    Default Stumped by ExecuteNonQuery()

    Can anyone explain the following error message when it relates to a SqlCommand Object&#039;s ExecuteNonQuery() ??<BR>"System.FormatException: Input string was not in a correct format."<BR><BR>I&#039;ve followed this tutorial very closely, only renaming db fields & objects where necessary.<BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Stumped by ExecuteNonQuery()

    One of the parameters that you&#039;re passing in, is not in the correct format. For instance, you may have an parameter that&#039;s expecting a SqlDbType.Int, but is getting an empty string instead.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts