0 Replies Latest reply on Oct 18, 2011 9:06 PM by 895115

    How to insert a MembershipUser (guid) in a Oracle Table with Oracle Client

      I have this code from an Insert Method

      PdfParms[3] = new OracleParameter(PARAM_USER_ID_IN, OracleDbType.Raw);
      PdfParms[3].Value = userId;

      Where userId his a byte array from here

      public static byte[] GetUserID()
      MembershipUser x = Membership.GetUser();
      if (x != null && x.ProviderUserKey != null)
      return ((Guid)x.ProviderUserKey).ToByteArray();
      return null;

      I just switched from System.Oracle.Client
      to Oracle.DataAccess.Client;

      and now I can't insert any byte array.

      What can I do ?