Re: Newbie need little help with VS2005 + Connector NET + VS plugin
Posted by: Radoslaw Caplap
Date: December 14, 2006 05:46AM

I'v looked in the test suite and i'v written something like this
try
{
this.OKOK_kontrahenT_TableAdapter1.Fill(okokDataSet1.KONTRAHENT_OKOK_Table);

DataRow new_row = this.okokDataSet1.KONTRAHENT_OKOK_Table.NewRow();
new_row[0] = 9;
new_row[1] = "TestLogin1";
new_row[2] = "Testpass1";

okokDataSet1.KONTRAHENT_OKOK_Table.Rows.Add(new_row);

int count = OKOK_kontrahenT_TableAdapter1.Update(okokDataSet1.KONTRAHENT_OKOK_Table);
}
catch (SystemException ex)
{
eventLog1.WriteEntry(ex.Message);
}

And this part generates exception "Only byte arrays and strings can be serialized by MySqlBinary" Digging through the formus i'v found that it may be problem withy data types, but table has been build: bigint(20), varchar(20), varchar(20) so i can't understand whats going on. Any ideas?



Edited 2 time(s). Last edit at 12/14/2006 05:48AM by Radoslaw Caplap.

Options: ReplyQuote


Subject
Written By
Posted
Re: Newbie need little help with VS2005 + Connector NET + VS plugin
December 14, 2006 05:46AM


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.