Hi gabo,
thanx for you reply. I'm using latest source downloaded with
new install package. I check mentioned class and there was a different
code in line 91:
mySqlCommand.Parameters.AddWithValue("@Description",
data.Description);
I updated it like you adviced and I get another error:
The parameterized query '(@CustomEnumerationId int,@Name
nvarchar(15),@Description nvarch' expects the parameter
'@Description', which was not supplied.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: The
parameterized query '(@CustomEnumerationId int,@Name
nvarchar(15),@Description nvarch' expects the parameter
'@Description', which was not supplied.
Source Error:
Line 139: int affected =
mySqlCommand.ExecuteNonQuery();
Line 140:
Line 141: if (affected != 1)
Line 142: {
Line 143: throw new SinergiaException("Problems
updating CustomEnumeration, affected rows != 1");
Source File: D:\Develop\net\Tiger\Sinergia\src\Projects\DataAccess
\AdminDataAccess.cs Line: 141
So do I need to update source code anywhere else?
regards
juraj