Re: Insert Statement Creating NULL Rows???
Posted by:
Sammy Age
Date: February 13, 2005 08:17PM
when you add parameters you need to tell them where to get the value from
this line
----------------------------------------------------------------------------
iCmd.Parameters.Add(New MySql.Data.MySqlClient.MySqlParameter("@fName", MySql.Data.MySqlClient.MySqlDbType.VarChar, 10, "fName"))
----------------------------------------------------------------------------
Should have .Value="My Value" where My Value should be replaced with the real value or a variable like this
----------------------------------------------------------------------------
iCmd.Parameters.Add(New MySql.Data.MySqlClient.MySqlParameter("@fName", MySql.Data.MySqlClient.MySqlDbType.VarChar, 10, "fName")) .value="My Value"
-----------------------------------------------------------------------------
hope this help
Subject
Written By
Posted
February 11, 2005 11:17AM
Re: Insert Statement Creating NULL Rows???
February 13, 2005 08:17PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.