mysql - mysqlvb query for beginners -


i using vb.net 2010 , mysql. insert working got problem in update.

con.open()  dim cmd new odbc.odbccommand("update date1 set event_title='" + txteventtitle.text + "',description='" + rchdescription.text + "',calender='" + datetimepicker1.value.date() + "')", con)  cmd.executenonquery()  con.close() 

this query doesn't update record table. m beginner need step step procedure update query. not using datagrid display records.

please me. thank you.

remove closing paren + "')" in query.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -