Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] MySQL Update Query - What am I doing wrong?
#7
You were right about "MAYBE"...lol. It didn't work, I got a
Quote:InvalidCastException: Conversion from string "ListViewItem: {12}" to type 'Integer' is not valid.

What about this:
Since I'm populating my form via the SelectedIndexChanged event of the Listview, what if I created a variable called ccID, for example, and assigned the selected index (which in this case is 0) - then use the variable in the parameter?

Would this work?
//Kismet


Messages In This Thread
Re: MySQL Update Query - What am I doing wrong? - by kismetgerald - 10-17-2012, 09:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How can I read a link from mysql databse??? mnxford 9 31,097 04-12-2013, 06:27 PM
Last Post: brandonio21
  How do I use Listview to delete MySQL DB records kismetgerald 10 32,083 11-28-2012, 05:19 PM
Last Post: brandonio21
  How do I fill my form with MySQL data based on Combobox? kismetgerald 8 25,312 10-14-2012, 09:05 PM
Last Post: brandonio21
  Help with creating an INSERT statement using MySQL kismetgerald 4 16,004 08-30-2012, 03:03 PM
Last Post: brandonio21
  How to write string query on multiple lines kismetgerald 1 8,560 08-29-2012, 04:01 PM
Last Post: brandonio21
  VB.Net Query Builder Problems. Moldraxian 2 11,325 08-17-2012, 05:33 AM
Last Post: Moldraxian
  MySQL Database Issue Moldraxian 7 27,836 08-13-2012, 08:58 PM
Last Post: brandonio21
  MySql Database Queries in VB.Net Moldraxian 6 21,091 07-26-2012, 03:44 PM
Last Post: Moldraxian
  How to Package MySql Connector and MySql Program? Moldraxian 3 14,050 07-20-2012, 12:23 PM
Last Post: brandonio21
  MySql Help Blackrobot 3 13,824 04-06-2012, 03:49 AM
Last Post: xolara

Forum Jump:


Users browsing this thread: 1 Guest(s)