locked
When I insert record into my table ... RRS feed

  • Question

  • User370212504 posted

    Hello,

     con.Open();

    cmd1.ExecuteNonQuery();

    con.Close();

    when I insert record into my table message to me :

    Overflow !!

    Thursday, July 29, 2010 7:29 AM

Answers

  • User-1618234021 posted

    It looks some of your values are greater than the column width/space.


    Please post the full insert command with sample values you are trying to insert. And also post the table structure

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, July 29, 2010 7:40 AM
  • User1283497924 posted

    Hi,

    It may happen that the inserted value is larger then the size of the field.

    So Please check the inserted value and ur table field size....

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, July 29, 2010 7:45 AM
  • User-895885180 posted

    The Vlaues you are trying to insert are larger than the size you have specified in table design.

    check it carefully 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, August 2, 2010 4:50 AM

All replies

  • User-1618234021 posted

    It looks some of your values are greater than the column width/space.


    Please post the full insert command with sample values you are trying to insert. And also post the table structure

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, July 29, 2010 7:40 AM
  • User1283497924 posted

    Hi,

    It may happen that the inserted value is larger then the size of the field.

    So Please check the inserted value and ur table field size....

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, July 29, 2010 7:45 AM
  • User-895885180 posted

    The Vlaues you are trying to insert are larger than the size you have specified in table design.

    check it carefully 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, August 2, 2010 4:50 AM