>             param = new FbParameter("@ID", FbDbType.VarChar);
>             param.Direction = ParameterDirection.Output;
>             com.Parameters.Add(param);
>             int i =0;
>             conn.Open();
>             i = (int)com.ExecuteScalar();

I will try to tajke a look at this as soon as possible, but this output
parameter should be FbDbType.Integer ??
 
Yes, it should be. A typing error. Even if I change it, it still throws the same error. Thanks for looking into it...

Reply via email to