Search:

Type: Posts; User: jayeem

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    771

    VS 2010 Re: Database Update Error!!

    Thanks for your reply,

    I have itemID in the form but its is hidden. what could be causing the ovewrite on the differend datarow.
  2. Replies
    4
    Views
    771

    VS 2010 Database Update Error!!

    Hu guys ,

    I have a problem when updating my SQL database. When am trying to update an item, the update works fine but I get the following problems:
    1. The ItemName combobox item list displays...
  3. Re: Failed to convert parameter value from a String to a Int32.

    Tanx so much Make me rain

    I finally got it Kudos

    Best Regards!!
  4. Re: Failed to convert parameter value from a String to a Int32.

    thanks alot almost there.. now i get the following error

    Conversion failed when converting character string to smalldatetime data type.
  5. Re: Failed to convert parameter value from a String to a Int32.

    Make me rain,

    U have almost made my day.


    I have used your code but i get an error that i must declare scalar variable ' requisitionID' How do i get to fix this one ?
  6. Re: Failed to convert parameter value from a String to a Int32.

    Yes I did what u pointed out.

    Thinks it is something to do with convertsion of datatype at runtime
  7. Re: Failed to convert parameter value from a String to a Int32.

    Make me Rain,

    Tried all that bt still getting "format exception was unhandled" . Failed to convert parameter value to a int32.

    Can u show me how i can convert the datagrid cell values from...
  8. Re: Failed to convert parameter value from a String to a Int32.

    Guys'

    even after trying out your options i still get the same error at the line- nonqueryCommand.ExecuteNonQuery()

    Pls review my current code and point out any mistakes.

    Private Sub...
  9. Re: Failed to convert parameter value from a String to a Int32.

    cicatrix
    i forgot to remove the single quotes, m have also changed my database tables.le'me try again

    make me rain
    The datagridview is not bound to data " i fill it programmatically"

    will...
  10. Re: Failed to convert parameter value from a String to a Int32.

    sorry not the one i sent before but this:

    nonqueryCommand.ExecuteNonQuery()
  11. Re: Failed to convert parameter value from a String to a Int32.

    this line

    nonqueryCommand.Prepare()
  12. Re: Failed to convert parameter value from a String to a Int32.

    Thanks Citrix

    I tried changing my table and code bu still get the same error 'failed to convert parameter value from string to int32".

    My new code is as follows:

    Private Sub...
  13. Failed to convert parameter value from a String to a Int32.

    Hi Guys,

    I am new to Vb.net please help me sort out this problem. Formatexceptionunhandled:

    i am trying to save data from unbound datagridview to sql database.

    Failed to convert parameter...
Results 1 to 13 of 13



Click Here to Expand Forum to Full Width